Clear Filters
Clear Filters

Cannot reliably use enums

2 views (last 30 days)
Horace Lai
Horace Lai on 20 Apr 2015
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?

Answers (0)

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!