view sbplibVersion.m @ 891:fd85412c7a99

Add function to get the hgRevision hash as a string
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 22 Nov 2018 07:25:52 +0100
parents 77db2ef14191
children
line wrap: on
line source

% Prints the version and location of the sbplib currently in use.
function sbplibVersion()
    location = sbplibLocation();

    name = 'sbplib (feature/grids)';
    ver = '0.0.x';

    fprintf('%s %s\n', name, ver);
    fprintf('Running in:\n%s\n', location);
end