Changing Data Object Wizard - default package

조회 수: 1 (최근 30일)
Adrian Dronca
Adrian Dronca 2015년 3월 12일
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');

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by