enumeration - pbouffard/matlabtojulia GitHub Wiki

enumeration Class enumeration members and names

Julia has the @enum macro to create enumerated types. Use the Julia instances function to list instances of a given type created with @enum, similar to MATLAB's enumeration.