Home › Forums › GENERAL › How to input my signal into optisystem from Matlab? › Reply To: How to input my signal into optisystem from Matlab?
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
- All
-
Knowledge
Contains a detailed Q&A knowledge base. -
General
All non-technical questions. -
System
Optical system design and analysis. -
Instrument
Communicate and control different kinds of instruments. -
SPICE
Opto-electronic circuit design. -
FDTD
Finite-Difference Time-Domain simulation. -
BPM
Beam Propagation Method analysis and design. -
Grating
Fiber optic grating simulation. -
Fiber
Optical fiber design and characterization. -
Exchange
Users can exchange design files.
(Matlab, C++, etc.)