How to create a custom SIMULINK library block from legacy_code tool programmatically?
4 次查看(过去 30 天)
显示 更早的评论
I have a C-function and I want to create a block in an existing SIMULINK library. If I give library name in Legacy_code tool as modelname I get the following error
Simulation of model 'TestLib' is not allowed because it is a block diagram library
Is there any way to create/copy/add a block to a custom SIMULINK library programmatically?
0 个评论
回答(1 个)
Urmila Rajpurohith
2019-8-8
You can refer to below documentation for how to design and create custom block
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!