필터 지우기
필터 지우기

Can you set default block properties in Simulink?

조회 수: 1 (최근 30일)
Alvin Allen
Alvin Allen 2023년 9월 21일
답변: Andreas Goser 2023년 9월 27일
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

답변 (1개)

Andreas Goser
Andreas Goser 2023년 9월 27일
Maybe there are more an better options, but I can think of two:
  1. 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
  2. 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

카테고리

Help CenterFile Exchange에서 Event Functions에 대해 자세히 알아보기

태그

제품


릴리스

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by