フィルターのクリア

How to get function block parameter from model?

1 回表示 (過去 30 日間)
Sadanand
Sadanand 2011 年 10 月 31 日
I have a simulink model with several blocks within it. I want to find out function block parameters. This i can achieve by model explorer window but i need to do this using command. I have block name with me and need to find out block parameters through command.
As I am new to Matlab, please let me know is there any way to achieve this. Thanks.

採用された回答

Fangjun Jiang
Fangjun Jiang 2011 年 10 月 31 日
Drag a Fcn block to an empty new Simulink model.
>> get_param('untitled/Fcn','Expression')
ans =
sin(u(1)*exp(2.3*(-u(2))))
>>

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by