Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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?

Risposte (0)

Categorie

Scopri di più su Programmatic Model Editing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by