Getmlversion
Jump to navigation
Jump to search
Purpose
Returns current Matlab version as an integer.
Synopsis
- version = getmlversion
- version = getmlversion(vreturn)
Description
Returns current Matlab version as an integer.
Inputs
- vreturn: ['release' | {'version'} | 'long'] dictates style of version to return. 'release' uses "R" format (e.g. 12, 13, 14, or 15). 'version' uses "ver" format (e.g. 6.5, 7.0, 7.2). 'long' returns "ver" format with versions past first decimal appended to 4 sig figs (e.g., '6.5.0.180913a (R13)' becomes 6.5018 OR '7.4.0.287 (R2007a)' becomes 7.4029)