Mercurial > repos > public > sbplib
view sbplibVersion.m @ 625:55e6267be117 feature/grids
Switch to using asserts for error checking
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 20 Oct 2017 23:07:03 +0200 |
parents | ae15b72c16c1 |
children | 77db2ef14191 |
line wrap: on
line source
% Prints the version and location of the sbplib currently in use. function sbplibVersion() scriptname = mfilename('fullpath'); [folder,~,~] = fileparts(scriptname); name = 'sbplib (feature/grids)'; ver = '0.0.x'; fprintf('%s %s\n', name, ver); fprintf('Running in:\n%s\n',folder); end