フィルターのクリア

xPC Target: target scope issue (Scope: #, does not exist)

3 ビュー (過去 30 日間)
M LaRosa
M LaRosa 2013 年 7 月 24 日
回答済み: M LaRosa 2013 年 10 月 22 日
I have a model with 4 target scopes, numbered 1-4, that builds with no errors. When I run this model on the target, all four scopes display properly, but error messages are repeatedly displayed in the top right corner of the screen. Since the display refreshes very quickly, the error messages fill the screen in a repeating pattern.
This is what is repeatedly displayed in the top right corner of the screen:
Scope: 5, does not exist
Scope: 6, does not exist
Scope: 7, does not exist
I have tried restarting the machines, clearing my workspace, deleting the project and build folders, and rebuilding the model, but the error message remains.
Does anyone have ideas as to how to prevent these errors from occuring (or if this is not possible, how to suppres the errors)?
  2 件のコメント
Robert Barr
Robert Barr 2013 年 10 月 12 日
I'm seeing the same thing using R2013b. I added 2 target scopes to xpcosc.mdl and everything built and functioned correctly. If I remove either of the scopes and rebuild in external mode, as soon as the application loads, I get the scope does not exist message continuously. I have not tried all the steps you listed attempting to repair it yet. Are you still having the problem? Is there a fix for this?
M LaRosa
M LaRosa 2013 年 10 月 22 日
This is what I have been doing that seems to work (not sure exactly which steps are important in solving the problem):
To clear Scope: #, does not exist errors displayed on the target machine, do the following in the specified order: (1) disconnect all target machines, (2) restart MATLAB, (3) delete the build and project folders associated with the model, (4) rebuild the model, (5) restart the target machine, (6) reconnect all target machines, (7) open xPC Explorer, and (8) load the model onto the target machine. Do not open xPC Explorer or connect target machines after restarting MATLAB until offending models have been rebuilt.

サインインしてコメントする。

採用された回答

M LaRosa
M LaRosa 2013 年 10 月 22 日
This is what I have been doing that seems to work (not sure exactly which steps are important in solving the problem):
To clear Scope: #, does not exist errors displayed on the target machine, do the following in the specified order: (1) disconnect all target machines, (2) restart MATLAB, (3) delete the build and project folders associated with the model, (4) rebuild the model, (5) restart the target machine, (6) reconnect all target machines, (7) open xPC Explorer, and (8) load the model onto the target machine. Do not open xPC Explorer or connect target machines after restarting MATLAB until offending models have been rebuilt.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTarget Computer Setup についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by