Filter löschen
Filter löschen

Changing Data Object Wizard - default package

2 Ansichten (letzte 30 Tage)
Adrian Dronca
Adrian Dronca am 12 Mär. 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');

Antworten (0)

Kategorien

Mehr zu Simulink Environment Customization 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