Home Forums GENERAL How to input my signal into optisystem from Matlab? Reply To: How to input my signal into optisystem from Matlab?

#88904
Profile Photo
Saurabh Bedi
Moderator

Hello,

To input your signal from MATLAB in to OptiSystem, you can write a code to generate the signal and load that MATLAB file into the MATLAB Component with just a single output port. This way, your MATLAB component can behave as a Laser. For further understanding I suggest you to have a look at the MATLAB examples and make sure to follow the steps in the MATLAB files of these examples. I can see that you have attached a code for signal generation. Your code needs to match the format of MATLAB codes shown in the examples.
You can find the examples at: C:\Users\USERNAME\Documents\OptiSystem 22.0 Samples\Software interworking\MATLAB co-simulation

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.

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

Warm Regards,
Saurabh Bedi.

Categories