MATLAB Answers

0

How to send result from block (Simulink) to the Workplace (not array) ?

Asked by Oleg Khegay on 10 Sep 2018
Latest activity Answered by Christopher Wallace on 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 Comments

Sign in to comment.

Products


Release

R2016b

1 Answer

Answer by Christopher Wallace on 11 Sep 2018
 Accepted Answer

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

  0 Comments

Sign in to comment.