Cannot reliably use enums
2 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Simulink Environment Customization in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!