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

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

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.
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 in Help Center and File Exchange

Products

Asked:

on 28 Mar 2013

Community Treasure Hunt

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

Start Hunting!