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

1 次查看(过去 30 天)
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 个评论
Kaustubha Govind
Kaustubha Govind 2013-3-29
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 2013-3-29
Wow, the error was due to the fact that I typed "Configset" with a small s instead of "ConfigSet".

请先登录,再进行评论。

回答(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