How to determine the MATLAB release number on Ubuntu Lucid

# mex must be in the path
grep "full_ver=" `which mex` | awk -F\' '{print $2}'
# returns R2010a
grep "full_ver=" `which mex` | sed 's/[^0-9]//g'
# returns 2010

Comments

 
 
how_to/determine_the_matlab_release_number_on_ubuntu_lucid.txt ยท Last modified: 28.11.2010 03:17 (external edit)
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki