Changing Data Object Wizard - default package

1 visualización (últimos 30 días)
Adrian Dronca
Adrian Dronca el 12 de Mzo. de 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');

Respuestas (0)

Categorías

Más información sobre Simulink Environment Customization en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by