フィルターのクリア

How to add tuneable Parameter to a Desktop Real Time Simulation on the example Water Tank

2 ビュー (過去 30 日間)
Lars Osmers
Lars Osmers 2022 年 5 月 10 日
回答済み: Jan Houska 2022 年 5 月 17 日
Hello,
i'm trying to add a tuneable Parameter to the example of the Water Tank. But if i add an constant Block with an toggle switch i've got the following issue:
Cannot change parameter 'Value' of 'sldrtex_dashboard/Constant' while simulation is running. The block was made virtual as it was optimized for simulation
Where can i add this Block to the turnable Parameters. This Tutorial did´nt help me :
Link to the Example :
Matlap Version 2022a

回答 (1 件)

Jan Houska
Jan Houska 2022 年 5 月 17 日
Hi Lars,
the constant block must be connected to some other block where it has some effect on the result of the simulation. If you leave it unconnected or terminate it, the optimizer will eliminate it from the model.
Good Luck, Jan

カテゴリ

Help Center および File ExchangeTarget Computer Setup についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by