Database tüddelei DBHanlder läuft gut für DIESE Datanbank struktur... App begonnen aber weit entfernt von gutem Stand
11 lines
378 B
Matlab
11 lines
378 B
Matlab
function result = isEnumeration(value)
|
|
% isEnumeration Checks if a given value is an instance of an enumeration class
|
|
% Usage:
|
|
% result = isEnumeration(value);
|
|
|
|
% Get meta information about the class of the value
|
|
metaInfo = metaclass(value);
|
|
|
|
% Check if the meta information indicates an enumeration class
|
|
result = metaInfo.Enumeration;
|
|
end |