How to create a configuration set for simulink model from matlab command line

1 view (last 30 days)
I want to create a configuration set for simulink model from matlab command line and I looked at the documentation given in http://www.mathworks.com/help/simulink/ug/configuration-set-api.html
I used the following command to create a config set but matlab returns an error.
% Create a new configuration set
cset1 = Simulink.ConfigSet;
Undefined variable "Simulink" or function "Simulink.Configset".
Can anyone help me?
  2 Comments
Kaustubha Govind
Kaustubha Govind on 29 Mar 2013
Perhaps you're using an older version of MATLAB when this command didn't exist? Could you try opening the documentation installed with your version (type "doc" at MATLAB prompt), and search for "ConfigSet" in the help browser.
Shyam Mudiraj
Shyam Mudiraj on 29 Mar 2013
Wow, the error was due to the fact that I typed "Configset" with a small s instead of "ConfigSet".

Sign in to comment.

Answers (0)

Categories

Find more on Simulink Environment Customization in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!