Why disp(label) command is not working with run initialization 'on'
5 ビュー (過去 30 日間)
古いコメントを表示
couldn't submit one task (task 5 of 'masking subsystems' from 'Subsystems') in Simulink Fundamentals), as per my knowledge, am trying to present the correct answer, where the answer given in the solution category is the same as mine. am really stuck here. its not accepting my submitioon, please help
0 件のコメント
採用された回答
Rahin Vadsariya
2022 年 6 月 28 日
Hello,
This issue is a bug in MATLAB R2022a and is fixed in R2022a Update2. Please upgrade your MATLAB to latest update to alleviate the issue. You may follow the below mentioned workaround for previous release.
The cause for the issue is that currently, the assessment expects the answer to be "disp(label)", that is without the semicolon. Whereas, by following the instructions, you end up submitting "disp(label);"(which includes a semicolon).
The temporary workaround is manually deleting the semicolon after "disp(label)" before submission. Additionally, make sure that there are no blank lines after the "disp(label)" command. There should be only one line in the submission.
Follow the same guidelines for successfully submitting Task 6.
その他の回答 (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!