Sine Wave not recognize with find_system
1 次查看(过去 30 天)
显示 更早的评论
I am finding the path for Sine Wave block so that can replace a block in f14 model. However, when I use
find_system(simulinkModel, 'BlockType', 'Sine Wave')
The output said it empty and cannot find it
0×1 empty cell array
But if I replace Sine Wave with Step block it said
1×1 cell array
{'simulink/Sources/Step'}
Am I mistake something or SIne Wave cannot be found when using find_system
0 个评论
采纳的回答
更多回答(1 个)
Sulaymon Eshkabilov
2020-11-16
You are right. Its name contains two words and because of that, supposedly it fails to locate it.
4 个评论
另请参阅
类别
在 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!