Home Forums SYSTEM How to design a MATLAB code to run in optisystem?

Viewing 1 reply thread
  • Author
    Posts
    • #50563
      Aishwarya Raj
      Participant

      Hello there. I wanted to ask that how should I design a MATLAB code so that I can interlink MATLAB and optisystem. When I tried the generate code option a code gets created automatically. But I am not getting how to make changes in the code to make it run for my use. Also,I have attached the circuit and where should I place the MATLAB component.

    • #50598
      Ahmad Atieh
      Moderator

      Hello,
      Typically you need to write your Matlab code and link the file name to the proper field in the Matlab component in OptiSystem. However, you need to make sure that you define first the number of input and output ports of the Matlab component in OptiSystem and identify the type of signal (Optical, electrical, M-ary, binary) that you’ll deal with in your Matlab code. Finally, You need to structure the signal in the Matlab code properly following the instructions provided in the datasheet that can be accessed in the Help button in the Matlab component properties window in OptiSystem.
      You use also watch the relevant Optiwave’s webinars at the location below for more information.
      https://www.gotostage.com/channel/optiwave/
      Regards,
      Ahmad

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