MATLAB: How to provide multiple users with the same Simulink preferences in Simulink 7.5 (R2009b)

commandlineprogrammaticallysimulink

I like to make sure that multiple users have the same default settings when creating a new Simulink model, e.g. a certain fixed-step solver. How can I ensure this in a convenient way?

Best Answer

You can do this by first interactively setting the preferences on one computer and then share the preference file.
In the menu go to: File -> Preferences -> Simulink -> Launch Simulink Preferences -> Configuration Defaults. Here you can. e.g. change the default solver.
The change will be saved in the file 'Simulink_ConfigSet_Prefs.mat'. This file is located in the preference directory. You can identify that directory by using the PRFEDIR command in MATLAB. Please note, that different preferences may by stored in different files in the same directory.
The last step is to have the other users create a backup file for "Simulink_ConfigSet_Prefs.mat" and then copy your version of the file into the preference diectory. The preferences take effect after restarting MATLAB.