There was a similar topic How to export Simulink data to the MATLAB Workspace during simulation?.
pm82 answered that this is possible using set and get commands. But I didn't understand how to use timer callbacks to read the data! Can anyone pls explain it to me?
However, in the above question they discussed how to write Simulink data into the MATLAB Workspace. I want Simulink to write data into Excel during the simulation so that that data can be read by another application in real-time. Is there any way to do that?
I really appreciate any help.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…