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 ?

采纳的回答

Christopher Wallace
In the 'To Workspace' block select 'Array' as the output type instead of 'Timeseries'

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

产品


版本

R2016b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by