问题
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.
来源:https://stackoverflow.com/questions/52912158/simulink-saves-data-in-excel-during-simulation