Error while initializing a simulink parameter with a matlab structure

5 views (last 30 days)
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.

Answers (0)

Categories

Find more on Event Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!