How to replace only a particular block with replace_block
2 ビュー (過去 30 日間)
古いコメントを表示
Farook Sadarudeen
2017 年 12 月 21 日
回答済み: Farook Sadarudeen
2017 年 12 月 21 日
I have two blocks with same name in my system but in two different subsystems. When I use replace_block both blocks are replaced. But I need to replace the exact block which I have mentioned in the argument list: Example: replace_block(get_param(LookUpnDTableList{index,1}, 'Parent'), 'Name', get_param(LookUpnDTableList{index,1}, 'Name'), NewBlock, 'noprompt') Should only replace the block get_param(LookUpnDTableList{index,1} in this subsystem. not every block. How to do this?
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Programmatic Model Editing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!