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!