Error while using enum in 2013b

10 ビュー (過去 30 日間)
Vinit Parundekar
Vinit Parundekar 2014 年 11 月 28 日
I am getting error while using enum via .m file
In BsClrs_pspdefineIntEnumTypes.m file below enum is defined
Simulink.defineIntEnumType('BasicColors', ...
{'Red', 'Yellow', 'Blue'}, ...
[0;1;2], ...
'Description', 'Basic colors', ...
'DefaultValue', 'Blue', ...
'HeaderFile', 'mybasiccolors.h', ...
'DataScope', 'Imported', ...
'AddClassNameToEnumNames', true);
Error:
Error using Simulink.defineIntEnumType Attempt to execute SCRIPT defineIntEnumType as a function: C:\Program Files\MATLAB\R2013b\toolbox\simulink\simulink\+Simulink\defineIntEnumType.m

回答 (0 件)

カテゴリ

Help Center および File ExchangeDesktop についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by