Parameter writer block use case issue
11 ビュー (過去 30 日間)
古いコメントを表示
Added TEMP variable in Model workspace and assigned this variable to constant block.
Contant block is linked with Parameter Writer block to perform logic. after compiling the Model showing following error meassage:
Parameter Writer block /Initialize Function/Parameter Writer1' is unable to write to the parameter 'Value' of the block 'ModelTest/TEMP' because the block is initialized with a mask parameter or workspace variable on its dialog. Writing to such parameters using the Parameter Writer block is not supported
0 件のコメント
回答 (1 件)
Mark McBroom
2024 年 2 月 17 日
It sounds like the value for the Constant block is not TEMP. You need to double click on the Constant block and enter "TEMP" as the Constan block value.
参考
カテゴリ
Help Center および File Exchange で Event Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!