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 CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by