Warning: Initializing the model with the initial state specified in arrayformat is not recommended.
3 次查看(过去 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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subsystems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!