Getmlversion: Difference between revisions
Jump to navigation
Jump to search
imported>Scott (New page: ===Purpose=== Returns current Matlab version as an integer. ===Synopsis=== :version = getmlversion :version = getmlversion('release') ===Description=== Returns current Matlab version ...) |
imported>Jeremy No edit summary |
||
Line 6: | Line 6: | ||
:version = getmlversion | :version = getmlversion | ||
:version = getmlversion( | :version = getmlversion(vreturn) | ||
===Description=== | ===Description=== |
Latest revision as of 15:09, 10 October 2008
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)