problem with enumeration class
Ältere Kommentare anzeigen
function data
a = classenum(c,d)
end
function data will pass the two arguments c and d to classenum. classenum looks like below
classdef classenum
enumeration
Jan, Feb, March, April
end
methods
function a = classenum(c,d)
.
end
end
end
Problem is when i run the function data it is not passing the argument c and d to classenum
and i am getting the error as '' No value has been provided for the enumeration member. For an enumeration derived from a built-in class, a value must be provided for each enumeration member''.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Enumerations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!