필터 지우기
필터 지우기

How to make the CAN pack/unpack model reflect the change when a new database file/message is selected programatically?

조회 수: 3 (최근 30일)
Hello, Once I load a new database file/ select a new message for the CAN Pack/Unpack block, I do not see the changes being reflected in the model (Change in input ports etc). This is only observed when the 'Apply' in the dialog box is pressed. Is there a way to make the model reflect the changes programtically? Matlab Version : 2016b.

답변 (1개)

Sachin Kumar
Sachin Kumar 2017년 3월 7일
  댓글 수: 2
Adithya Ravi
Adithya Ravi 2017년 3월 7일
편집: Adithya Ravi 2017년 3월 7일
Thanks for the links Sachin. However I am using the Java code for the button press as a temporary workaround. Was wondering if there is an official fix by Mathworks that has been released that enables the user to update the model programatically without the need to open and close the dialog box.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by