Varying Parameters for Simulink Models

I am building a model in which a block's parameter varies based on a separate signal which will be processed using a user defined function block.
Is there a way I can link the parameter of a block to the output of another? Using a goto block?
Thanks for your help

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2011 年 11 月 1 日

1 投票

No. You can't. What is the parameter for what block? Sometimes you can change the way you develop the model. For example, if the parameter is the gain of a Gain block, you can use a Product block instead. The varying gain will be the second input of the Product block.

1 件のコメント

Kaustubha Govind
Kaustubha Govind 2011 年 11 月 1 日
Also see Guy's blog post on this topic: http://blogs.mathworks.com/seth/2011/03/08/how-do-i-change-a-block-parameter-based-on-the-output-of-another-block/

サインインしてコメントする。

カテゴリ

質問済み:

2011 年 11 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by