Seriously I don't know sometimes what will happen to MATLAB.
%% This is my enum class file
classdef Connection
enumeration
Series, Parallel
end
end
but
>>C2 = Connection.Parallel
The class Connection has no property or method named 'Parallel'.
it is showing error.
>> C1 = Connection.Series
C1 =
Series
It's working for series, not for parallel.
It's working for this class file properly for both Metal and Air, why not for Parallel?
classdef Materials
enumeration
Metal, Air
end
end
Kindly get me out of this shit.
Thanks in advance.

1 个评论

It works for me. Perhaps you have an old version of the file stuck.
clear Connection
and try again.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Use Prebuilt MATLAB Interface to C++ Library 的更多信息

产品

版本

R2014a

标签

Community Treasure Hunt

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

Start Hunting!

Translated by