Ignore:
Timestamp:
03/02/23 11:14:17 (2 years ago)
Author:
Mathieu Morlighem
Message:

CHG: adding version number as output (and silence disp)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/dev/issmversion.m

    r27608 r27628  
    1 function issmversion(),
     1function vers = issmversion(),
    22%ISSMVERSION - display ISSM version
    33%
    44%   Usage:
    55%      issmversion()
     6%      version = issmversion()
    67
    78
    89if exist('IssmConfig_matlab')~=3,
    910        error('ISSM not correctly installed. "IssmConfig_matlab" not found');
     11end
     12
     13if nargout==1
     14        vers = IssmConfig('PACKAGE_VERSION');
     15        return;
    1016end
    1117
Note: See TracChangeset for help on using the changeset viewer.