How to send result from block (Simulink) to the Workplace (not array) ?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Oleg Khegay
am 10 Sep. 2018
Beantwortet: Christopher Wallace
am 11 Sep. 2018
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 Kommentare
Akzeptierte Antwort
Christopher Wallace
am 11 Sep. 2018
In the 'To Workspace' block select 'Array' as the output type instead of 'Timeseries'
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Functions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!