필터 지우기
필터 지우기

Warning: Initializing the model with the initial state specified in arrayformat is not recommended.

조회 수: 2 (최근 30일)
I have a simulink model, https://dl.dropboxusercontent.com/u/20782274/controllerObserver.mdl, but when I run it I get the following error. I know what the warning says but I am not sure where it occures. I believe it occures in the delay and since I have 4 states I tried setting the initial condition of the delay to [0 0 0 0] however this did not work, either didn't 0 of course.
How do I resolve this warning?
Warning: Initializing the model 'controllerObserver' with the initial state specified in array format is not recommended. The array format does not contain information about how the specified states are associated with the respective blocks. Since the sorted order may change under different conditions, such
associations are necessary for achieving consistent results. Therefore, consider initializing the states using a structure format. This warning can disabled or changed to an error message by using set_param(modelName,
'InitInArrayFormatMsg', 'None') or set_param(modelName, 'InitInArrayFormatMsg', 'Error'). If you get the initial state by using the save final state option, you can change the format to structural format to avoid this warning too.
Edit: Nobody has a clue?
Edit2: Could maybe somebody from Mathworks reply to this? Because really no where is there any information to be found about this type of warning.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Subsystems에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by