Convert .NET Enumeration Values to Type Double
To convert a value to a MATLAB®
gameDay = System.DayOfWeek.Thursday; myValue = double(gameDay)
myValue = 4
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.