Home Forums SYSTEM matlab component

Viewing 1 reply thread
  • Author
    Posts
    • #43029
      ramin ravaghi
      Participant

      Hi all,

      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 MATLAB.

      I writed “OutputPort1=InputPort1” in matlab but i am not able to see Optical wave by “plot (OutptPort1)”

      pleas tell me matlab code.
      tnx

      Attachments:
    • #43814
      Marc Verreault
      Participant

      Good day,

      You have to access the contents of the data structure. For example plot(OutputPort1.Sampled.Signal) or plot(OutputPort1.Sampled.Time). It’s normally easier to declare local arrays in the MATLAB work space though. Cheers.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.