To fix the error, go to the Simulink model settings and set the UnconnectedLineMsg connectivity diagnostic to 'none'. See how to do it in the picture below:
I get the error 'Changing property 'UnconnectedLineMsg' is not allowed ' when using a block from the MATLAB and Simulink Robotics Playground
41 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Student Competitions Team
2021 年 5 月 27 日
コメント済み: Jose Avendano Arbelaez
2023 年 5 月 1 日
0 件のコメント
採用された回答
その他の回答 (1 件)
Sorawit
2023 年 5 月 1 日
clc; clear all
model = 'bright2';
close_system('model',0)
open_system(model)
setpref('MathWorks_Embedded_IDE_Link_PIL_Preferences','COMPort','COM4');
setpref('MathWorks_Embedded_IDE_Link_PIL_Preferences','BaudRate', 115200);
setpref('MathWorks_Embedded_IDE_Link_PIL_Preferences', 'enableserial', true);
set_param(model, 'CreateSILPILBlock', 'PIL');
close_system('untitled',0)
rtwbuild([model '/Brighttest'])
Error using pilcontriller (line 10)
Changing property 'CreateSILPILBlock' is not allowed
I found an error and would like to ask how to fix it.
1 件のコメント
Jose Avendano Arbelaez
2023 年 5 月 1 日
That error is unrelated to the topic of this post. Please create a new MATLAB Answers post with your question.
参考
カテゴリ
Help Center および File Exchange で Code Generation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!