Cannot reliably use enums

2 次查看(过去 30 天)
Horace Lai
Horace Lai 2015-4-20
Hi,
I am getting this error which I sometimes get and I cannot figure out what I am doing different when it works.
The error is: Error using Simulink.defineIntEnumType Attempt to execute SCRIPT defineIntEnumType as a function: C:\MATLAB_R2013b_x64\toolbox\simulink\simulink\+Simulink\defineIntEnumType.m
The script is: Simulink.defineIntEnumType( 'example', ... {'Other', 'normal'}, ... [0, 1], ... 'AddClassNameToEnumNames', true);
Can anyone help?

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