Base
Full Name | Andres Triana |
Organization | Unal |
Job Title | Research engineer |
Country |
Forum Replies Created
Yes Damian, thanks so much, effectively the frequency vectors were different and that’s the origin of the problem, I was only paying attention to the number of samples. I’ll re-shape my signals and everything should now be ok.
thanks again for your time,
best,
Yes Damian, I have simulated each matlab component independently without seeing neither the inputport1 nor the outputports duplicated in length, however when I concatenate the two components The Inputport1 appears to be duplicated, Im sending attached files in case you want to run the simulation or give a look to the mfiles, maybe Im doing something wrong in there.
thanks,
Hi Damian, I think Im treating properly the signals in the m-files, in fact, using just one Matlab structure there is no problem at all.
I guess that optisystem calls the two scripts at the same time, and since the variable ‘InputPort1’ is used by the two scripts, it probably is overwriting the variable.