mathworks.jmaab.jc_0645で警告が発生するのは何故ですか?
Show older comments
Unit Delay ブロックの状態名に Simulink.Signal オブジェクトを設定し、「状態名を Simulink の信号オブジェクトに関連付ける」を有効にしています。
また、Simulink.Signal オブジェクトの InitialValue プロパティに初期値を設定しています。
z1 = Simulink.Signal;
z1.InitialValue = '0';
一方で、Unit Delay ブロックの Initial Condition パラメーターはデフォルトの [] のままとしています。
この状態で Simulink Check の JMAAB チェック mathworks.jmaab.jc_0645(調整可能なブロック パラメーターが名前付き定数として定義されているかどうかをチェック) を実行すると、以下の警告が発生します。
警告
以下の調整可能なブロック パラメーターが、名前付き定数として定義されていません。
ブロック違反
test1/Unit DelayInitialCondition : []
推奨アクション
調整可能なブロック パラメーターのリテラル値を名前付き定数に変更することを検討してください。
Accepted Answer
More Answers (0)
Categories
Find more on サブシステム 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!