Error while initializing a simulink parameter with a matlab structure

1 回表示 (過去 30 日間)
Anup
Anup 2014 年 9 月 23 日
編集済み: Anup 2014 年 9 月 24 日
I am following the steps in the link to create a parameter object that I can use to initialize my Bus Signal. Initialize Bus signals I have custom defined Bus objects, I use the Bus Editor's "Create a Simulink.Parameter object" option by selection my desired Bus definition and get an m-file that creates a IC Structure and a parameter with initial value equal to the created structure. However when I run that m-file I get the following error: _ _Invalid Value specified for parameter object. Value must be a numeric array, fi object, an enumerated value, or a scalar structure whose fields contain valid values ._ _ Any suggestions on resolving this are appreciated. Regards. Anup.
Note: My bus structure has 4 levels of nesting and one of them is an array of bus.

回答 (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