- Create your own library. When you move a "default block" into your library, then modify the library block and then save it, I would expect it keep the "new default behaviour". Let me know if it doesn't work, it is quite some time I did something like that
- Create MATLAB Code that modifies setting you frequently want to modify. User "set_param", "gcb" and related commands and find reasonable ways to run the code (like shortcuts) when ever you need it
Can you set default block properties in Simulink?
12 次查看(过去 30 天)
显示 更早的评论
As in the title. For example, can I set the Gain block to default to using matrix multiplication by default, or set the Sum block to use rectangle shape by default, so that whenever I generate one of those blocks it will have that property without me having to set it manually each time?
Thanks
0 个评论
回答(1 个)
Andreas Goser
2023-9-27
Maybe there are more an better options, but I can think of two:
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!