Cannot reliably use enums

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?

Réponses (0)

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by