Home Forums KNOWLEDGE Simulation of Combined Communication Based on Subcarrier

Viewing 1 reply thread
  • Author
    Posts
    • #88817
      李志旭
      Participant

      How to import the program written on MATLAB into the MATLAB component on Optisystem, so that it can be co-simulated, and the waveform can appear when running in Optisystem?Even now, the program on MATLAB runs on MATLAB, but it will report an error when running on Optisystem, and the oscilloscope will not display the waveform.

    • #88919
      Saurabh Bedi
      Moderator

      Hello,

      Thanks for reaching out to us.

      To use the MATLAB component in OptiSystem, I suggest you to first look into the MATLAB examples in the examples library at path: C:\Users\USERNAME\Documents\OptiSystem 22.0 Samples\Software interworking\MATLAB co-simulation.
      Your MATLAB code should be written in the similar format as in the MATLAB codes for these examples. You need to define the number of input ports for input channels and the number of output ports as per your application. When the MATLAB component is correctly setup, then when you connect it further to the Oscilloscope, you should be able to view the desired response.

      Another important point to keep in mind while running such simulations is, to make the number of samples and sample rate/bit rate match the global parameters of the simulation. Otherwise, there are chances that simulation might fail.

      I hope this helps?

      Let me know if you have any further queries. You can reach out to us at support@optiwave.com

      Warm Regards,
      Saurabh Bedi.

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