필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How I can keep step in a variable using the FROM WORKSPACE block?

조회 수: 1 (최근 30일)
Fernando  Beltrán
Fernando Beltrán 2016년 6월 16일
마감: MATLAB Answer Bot 2021년 8월 20일
I have a problem when I use the block FROM WORKSPACE. I have tried several options but do not get what I want.
I store a variable of a model to the workspace. This variable has a variable step size. But when I want it back for use in another model, does not use all values of the vector, for example:
Variable stored in the workspace:
wave.time = [0 0.1 0.3 0.4 0.45 0.6 ............] ' wave.signals.values = [1.56 1.99 2.5 1.23 0 2.15 .............] '
Variable used in the new model with block FROM WORKSPACE :
wave.time = [0 0.1 0.4 0.6 ............] ' wave.signals.values = [0 1.23 1.56 2.15 .............] '
I have tried several things. I have kept the variable as TimeSeries, as Structure with Time, as ARRAY, (creating a vector time with the CLOCK block), and I always get the same.
I send a file with options selected on the blocks. In the configuration parameters I have selected that the max and min step size is auto.
I do not know where the error is.
Thanks

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by