Effacer les filtres
Effacer les filtres

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

3 vues (au cours des 30 derniers jours)
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.

Réponses (1)

Sachin Kumar
Sachin Kumar le 7 Mar 2017
  2 commentaires
Adithya Ravi
Adithya Ravi le 7 Mar 2017
Modifié(e) : Adithya Ravi le 7 Mar 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by