Is there a way of externally defining the initial output of a Variable Transport Delay?
2 ビュー (過去 30 日間)
古いコメントを表示
On the simulink block Variable Time/Transport Delay there is a parameter called "Initial Output". But unlikely the integrator, for example, there is not an option to externally define this parameter.
Is there a way of doing that? Or maybe a way to create a variable transport delay block from other blocks and then define this parameter as I need?
0 件のコメント
回答 (1 件)
maiaL
2020 年 7 月 28 日
Not sure if I understood the question clearly, but you could simply define a ini_output value in the base workspace:
ini_output = 2
and simply write ini_output at the Initial output field of the block.
2 件のコメント
maiaL
2020 年 7 月 28 日
Oh ok, got it. Maybe you could play with a MATLAB function block with something like:
set_param('modelName/Transport Delay','InitialOutput','0');
where 0 would be parameterized as the input of the MATLAB function? Not sure how that would play out during runtime though.
参考
カテゴリ
Help Center および File Exchange で Simulink Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!