How to handle BusCreator programatically
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello!
I have quite a simple question: the BusCreator has a block parameter "Require input signal names to match signals above". How can I access this setting via get_param?
Thanks a lot!
댓글 수: 1
Shiv Nileshkumar Matliwala
2022년 11월 25일
Hello Matthias,
Can you tell me how can see the input ports and output ports of the bus creator block ??
using find_system() it should be work like
inports_bc = find_system(bus_creator,'BlockType','Input')
So, is it correct or any other way to extract this information ?
답변 (1개)
Archit Dhanani
2019년 7월 26일
Unfortunately, there is no get_param API for this parameter.
(As of R2019a ) the documentation says Note: The Require input signal names to match signals above parameter might be removed in a future release. To enforce strong data typing, consider using the Override bus signal names from inputs parameter.
참고 항목
카테고리
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!