フィルターのクリア

Info

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

How to assign output of a block to a variable during simulation?

1 回表示 (過去 30 日間)
Mike
Mike 2014 年 5 月 12 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi, i am stuck in a simple challenge! In my simulink model there is a Math operation product block which it's output determines the value of a variable resistor (R). the output of product changes continuously during simulation. So the question is how can i assign output of product to a variable called R which is changing continuously during simulation?
[I tried GOTO and From workspace but it seems that Simulink is not updating workspace variables in real-time and only does it at the end of the simulation]

回答 (0 件)

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

Community Treasure Hunt

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

Start Hunting!

Translated by