xBlock エラー メッセージ
条件 | エラー メッセージ |
---|---|
xBlock(NoSubSourceBlock, …) を呼び出したときに、ソース ブロックが存在しない場合。 |
Source block NoSubSourceBlock cannot be found. |
xBlock(sourceblock, parameterBinding) を呼び出したときにパラメーターが無効である場合、xBlock によりパラメーターが無効であることを示すエラーが表示されます。例: xBlock(‘AddSub’, struct(‘latency’,
-1));
|
Illegal parameterization: Latency Latency is set to a value of -1, but the value must be greater than or equal to 0 |
入力ポートのバインディング リストに xSignal または xInport 以外のオブジェクトが含まれている場合。 |
Only objects of xInport or xSignal can appear in inport binding list. |
出力ポートのバインディング リストに xSignal または xOutport 以外のオブジェクトが含まれている場合。 |
Only objects of xOutport or xSignal can appear in outport binding list. |
xBlock の最初の引数が関数ポインターの場合、xBlock の 2 番目の引数はセル配列である必要があり、そうではない場合はエラーが表示されます。 |
Cell array is expected for the second argument of the xBlock call |
ソース コンフィギュレーション構造体で toplevel を定義する場合、 Simulink® サブシステムをポイントし、char 配列である必要があり、そうでない場合はエラーが表示されます。 | Top level must be a char array |
出力ポートのバインディング リストのオブジェクトが既に駆動されている場合など、2 つの駆動ソースを指定しようとすると、エラーが表示されます。 | Source of xSignal object already exists |
xInport エラー メッセージ
条件 | エラー メッセージ |
---|---|
xInport オブジェクトを再度同じ名前で作成しようとすると、エラーが表示されます。たとえば、p = xInport('a', 'a') を呼び出す場合です。 |
A new block named 'untitled/Subsystem/a' cannot be added. |
xOutport エラー メッセージ
条件 | エラー メッセージ |
---|---|
xOutport オブジェクトを再度同じ名前で作成しようとすると、エラーが表示されます。たとえば、p = xOutport('a', 'a') を呼び出す場合です。 | A new block named 'untitled/Subsystem/a' cannot be added. |
xOutport オブジェクトを再度バインドしようとすると、エラーが表示されます。たとえば、[a, b] = xInport('a', 'b'); c = xOutport('c'); c.bind(a); c.bind(b); という呼び出しシーケンスを実行すると、エラーが表示されます。 | The destination port already has a line connection. |
xSignal エラー メッセージ
条件 | エラー メッセージ |
---|---|
xSignal オブジェクトを 2 つのソースを使用してバインドしようとすると、エラーが表示されます。たとえば、[a, b] = xInport('a', 'b'); sig = xSignal; sig.bind(a); sig.bind(b); という呼び出しシーケンスを実行すると、エラーが表示されます。 |
Source of xSignal object already exists. |
xsub2script エラー メッセージ
条件 | エラー メッセージ |
---|---|
xlsub2script を引数なしで呼び出した場合。 | An argument is expected for xlsub2script |
最初の引数がサブシステムでないか、モデルが開いていない場合。 | The first argument must be a model, Subsystem, or a block.Please make sure the model is opened or the argument is a valid string for a model or a block. |
サブシステムのマスク初期化コードに Simulink 関数呼び出しがない場合。 | Subsystem has Simulink function calls, such as gcb, get_param, set_param, add_block.Please remove these calls and run xlsub2script again or you can pick a different Subsystem to run xlsub2script. |
サブシステムに Goto ブロックがある場合。 | You have the following Goto blocks, please modify the model to remove them and run xlsub2script again. |