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

조회 수: 2 (최근 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
Christopher Wallace 2018년 9월 11일
In the 'To Workspace' block select 'Array' as the output type instead of 'Timeseries'

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by