How to send result from block (Simulink) to the Workplace (not array) ?
1 回表示 (過去 30 日間)
古いコメントを表示
Oleg Khegay
2018 年 9 月 10 日
回答済み: Christopher Wallace
2018 年 9 月 11 日
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!