Home Forums GENERAL how I can write matlab code to use it in matlab component ?

Viewing 7 reply threads
  • Author
    Posts
    • #42849
      omar abdullah
      Participant

      peace be upon you.

      i use optiwave in my graduate project, i tried so many times to write but optiwave says: undefined operaror even i just use + only!
      you can see my code here :

      `
      OutputPort1.Sampled.Signal=InputPort1.Sampled.Signal;

      OutputPort1 = InputPort1;

      y=OutputPort1;

      OutputPort1= InputPort1+1;

      help please.

    • #42853
      omar abdullah
      Participant

      I need help very much, i can’t continue without knowledge how to write matlab code to use it in optiwave.

      thank you

    • #42863
      omar abdullah
      Participant

      ??

    • #42851
      ali noore
      Participant

      try this code
      OutputPort1.Sampled.Signal=InputPort1.Sampled.Signal;

      [OutputPort1 = InputPort1;] delete this not need

      [y=OutputPort1.Sampled.Signal;] what the value of y ,you must define this in optisystem or define here in matlab as y=10

      OutputPort1.Sampled.Signal=InputPort1.Sampled.Signal+1;
      what the meaning of code stage no. 3 and 4

    • #42854
      AMIT singh
      Participant

      same problem with me

    • #42855
      AMIT singh
      Participant

      please any one help step how to write mat lab command on mat lab component

    • #42892
      Ali Hayder
      Participant

      I suffer from the same problem and I wish any one help me

    • #43113
      ramin ravaghi
      Participant

      Hi

      I am working on my final project and I really need to help.I want to export an optical wave from Optical time Domain into the MATLAB.

      I writed “OutputPort1=InputPort1” in matlab but i am not able to see Optical wave by “plot (OutptPort1)”
      could you tell me how i can do it.
      please tell me matlab code.
      tnx

Viewing 7 reply threads
  • You must be logged in to reply to this topic.