How to send to matlab the final outcome of a simulink model?
1 次查看(过去 30 天)
显示 更早的评论
I would like to send to matlab the final results (ONLY the final results) of a simulation of a simulink model called in a matlab program, how can i do it?
0 个评论
回答(1 个)
ES
2013-10-7
Do you mean values at outports? In that case you can use
sim
command. sim can simulate the model, log the output values in the variables you want. You can use the values in your script/function.
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Prepare Model Inputs and Outputs 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!