Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to use "from workspace" in the same Simulink model as internal parameter in a block?

4 ビュー (過去 30 日間)
FraFal
FraFal 2018 年 10 月 1 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日

Hi all, I've the model in figure:

I want to use "value.Data" (it's a timeseries, output of SYSTEM block) in other two blocks:

-in "unit delay" block as sample-time (for example, you can suppose that "value" is a frequency factor that changes during simulation time by SYSTEM block).

-in "gain" block as Gain (you can suppose that Gain block is any block, not a specific gain block, this is only to sinplify the question).

NOTE: "value" changes during simulation time as output of SYSTEM block, and so, I can't start a simulation with default values and then re-start simulation with the precedent values of "value" timeseries. I want to use "value" in the others blocks during the same simulation.

Thanks

回答 (0 件)

この質問は閉じられています。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by