viewing enumeration values in VariableEditor doesn't seem to work.
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subsystems 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!