viewing enumeration values in VariableEditor doesn't seem to work.

1 visualización (últimos 30 días)
tombola
tombola el 24 de Nov. de 2011
Hi, I've created an enum...
MATLAB code
classdef SmoothingAlgo
enumeration
None, Padding, LinearInterpolation
end
end
And am using it to set a class property
MATLAB code
smoothingAlgo = SmoothingAlgo.LinearInterpolation;
Everything works well, but when I look at the value in the variable editor I just get:
MATLAB code
newIndicatorObject.smoothingAlgo <1x1 SmoothingAlgo>
And double clicking on it to see the value just gives me a blank screen.
Am I doing something wrong? This functionality isn't documented in the "enumeration limitations".
Thanks a lot,
Tom.

Respuestas (1)

tombola
tombola el 30 de Nov. de 2011
Anyone any ideas? My code works fine, I just can't belive it's not possible to view these.
Thanks,
Tom.

Categorías

Más información sobre Subsystems en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by