Why do I receive an error loading initial state when building a subsystem with Real Time Workshop 6.3 (R14SP3) ?
13 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2011 年 6 月 29 日
コメント済み: jailson bina da silva
2014 年 2 月 28 日
When I build a subsystem with the right-click Real-Time Workshop -> Build Subsystem, I receive the following error:
Error loading the initial state for model 'Subsystem'. Unable to find a matching block state corresponding to element 1 of signals structure array
採用された回答
MathWorks Support Team
2011 年 6 月 29 日
In order to be able to build a subsystem properly, the initial state variable, which is set in the model's Configuration Parameters (Data Import / Export) must be an array that corresponds solely to the states in the subsystem.
Follow the steps below to set the initial state variables as array:
- Open the Configuration Parameters -> Data Import/Export pane
- Check the boxes with 'Time' and 'States', select the 'Format' option to 'Array'
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Simulink Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!