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

1 vue (au cours des 30 derniers jours)
Shyam Mudiraj
Shyam Mudiraj le 28 Mar 2013
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 commentaires
Kaustubha Govind
Kaustubha Govind le 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 le 29 Mar 2013
Wow, the error was due to the fact that I typed "Configset" with a small s instead of "ConfigSet".

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simulink Environment Customization dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by