フィルターのクリア

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