Error when using (self created) library block in a model
古いコメントを表示
I have created a block in a library.
This block works (correct / expected behavior) when I try it in library directly.
But when I import the block in a model, I got error: parameter callback errors.
The block behavior is to modify its content (remove or add block inside) according to parameter values.
It can works in model if i cut the link to the library, but after I got lot of warning from advisor ...
採用された回答
その他の回答 (1 件)
Fangjun Jiang
2024 年 5 月 30 日
編集済み: Fangjun Jiang
2024 年 5 月 30 日
0 投票
Follow this.
If possible, don't do delete_block() and add_block(). Using replace_block() might work.
カテゴリ
ヘルプ センター および File Exchange で Interactive Model Editing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!