We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following example of an enumeration class is not recognised and leads to falsely reporting of syntax errors.
classdef TimeUnit < double & Unit enumeration millisecond (1/1000) second (1) minute (60) hour (60*60) day (60*60*24) week (60*60*24*7) end methods function d = asDuration( self) d = seconds( self); end end end
The text was updated successfully, but these errors were encountered:
#51 Enumeration syntax support
dbf4907
Fixed by dbf4907
Sorry, something went wrong.
No branches or pull requests
The following example of an enumeration class is not recognised and leads to falsely reporting of syntax errors.
The text was updated successfully, but these errors were encountered: