Changing Data Object Wizard - default package

1 visualizzazione (ultimi 30 giorni)
Adrian Dronca
Adrian Dronca il 12 Mar 2015
Hello all,
I`m using Matlab 2012b and 2011a and I have a script that changes the default package for data objects from Simulink to Custom .
The script only works correct for 2011a .
For 2012b I can change and add more user packages and change the order between them, BUT the first and default package is Simulink and this does not change.
Any idea is appreciated, thanks in advance !
function sl_customization(cm)
% Get default (factory) customizations
hObj = cm.slDataObjectCustomizer;
% Add user packages
hObj.addUserPackage({'custom'});
% Move custom to top of list instead of Simulink
hObj.moveUserPackageToTop('custom');

Risposte (0)

Categorie

Scopri di più su Simulink Environment Customization in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by