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

3 Ansichten (letzte 30 Tage)
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.

Antworten (1)

Sachin Kumar
Sachin Kumar am 7 Mär. 2017
  2 Kommentare
Adithya Ravi
Adithya Ravi am 7 Mär. 2017
Bearbeitet: Adithya Ravi am 7 Mär. 2017
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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by