Effacer les filtres
Effacer les filtres

How can I update a 'CAN Pack' to show the correct inputs via the command line?

1 vue (au cours des 30 derniers jours)
Patrick Merz
Patrick Merz le 2 Juil 2015
Modifié(e) : Patrick Merz le 2 Juil 2015
First of all the same question was asked here and the MathWorks Support Team postet a script to update CAN Pack blocks, after changing the dbcFile via the command line. But I want to know which commands are used.
If I open a CAN Pack block parameter dialog box manually and close it by pressing OK, everything works fine. But if i use the commands
open_system('mymodel/CANPack','mask')
close_system('mymodel/CANPack')
the block does not update. Setting the saveflag doesn't work as it returns the Warning: Subsystems cannot be saved using save_system. Do I have to use another command to close the dialog box to update it?

Réponses (0)

Catégories

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

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by