Matlab R2021b not generating output from Simulink
13 views (last 30 days)
i have a problem with simulink simulink output. Every time I try to plot e.g plot(out.simout,out.tout) I get an error `Unable to resolve the name out.simout`
I tried changing model settings including single simulation outpu and format from dataset to array
The data is imported to Matlab cause when typing in command prompt out.simout it does return data from Simulink but it does not allow me to plot the data
Fangjun Jiang on 27 Oct 2021
Assume "simout" is the name used in the "To Workspace" block, the saving format "Array" need to be set at the "To Workspace" block.
Also, it should be plot(out.tout, out.simout). Time vector first.