How to send result from block (Simulink) to the Workplace (not array) ?
1 次查看(过去 30 天)
显示 更早的评论
In the model Simulink I have a block with a number result. I tried to use "To Workplace" block to send the number to the workplace and use it in the script further. However, I get only array of numbers corresponding to time. I used Timeseries, Sctructure and Array, but it didnt help me.
What can be solution to this problem ? How to make this variable to look like other "common" "simple" ones ?



0 个评论
采纳的回答
Christopher Wallace
2018-9-11
In the 'To Workspace' block select 'Array' as the output type instead of 'Timeseries'
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!