Error while initializing a simulink parameter with a matlab structure

1 Ansicht (letzte 30 Tage)
Anup
Anup am 23 Sep. 2014
Bearbeitet: Anup am 24 Sep. 2014
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.

Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by