Home Forums SYSTEM How to write MATLAB code that is to be called in Optisystem for OFDM Reply To: How to write MATLAB code that is to be called in Optisystem for OFDM

#25509
Profile Photo
alistu
Participant

You can create a M-file containing your Matlab program and then put that M-file in the same folder as your osd file. Then, in Matlab component properties, write the name of your M-file in the run command. For example, if the name of your M-file is “odsmtransmitter”, you should type “ofdmtransmitter;” in the Run command.

Another way is writing your whole Matlab program in the run command. this way, you won’t use any M-file. I suggest that you try to recreate one of the Matlab component examples depicted in the tutorials by yourself.

Categories