Home › Forums › EXCHANGE › Import optical ring resonator from MATLAB to Optisystem › Reply To: Import optical ring resonator from MATLAB to Optisystem
you need to make sure that the signals at the input and out ports are correct in terms of being electrical, optical or binary. Also, you need to make sure that you propagate the signals correctly from the input to output ports of the Matlab component using the proper commands. Finally, you need to make sure that the number of samples transferred from the Matlab component matches OptiSystem project number of samples, you may need to down-sample or up-sample. Please refer to the examples in OptiSystem library located at the following link for guidance.
C:\Users\USER NAME\Documents\OptiSystem 18.0 Samples\Software interworking\MATLAB co-simulation
FYI, you may design the ring resonator in OptiSPICE and use the netlist or the output components in OptiSystem directly.