comparison sbplibVersion.m @ 630:31abb4b11133 feature/grids

Merge
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 20 Oct 2017 23:31:20 +0200
parents 77db2ef14191
children
comparison
equal deleted inserted replaced
629:2b03ee11e48b 630:31abb4b11133
1 % Prints the version and location of the sbplib currently in use. 1 % Prints the version and location of the sbplib currently in use.
2 function sbplibVersion() 2 function sbplibVersion()
3 scriptname = mfilename('fullpath'); 3 location = sbplibLocation();
4 [folder,~,~] = fileparts(scriptname);
5 4
6 name = 'sbplib (feature/grids)'; 5 name = 'sbplib (feature/grids)';
7 ver = '0.0.x'; 6 ver = '0.0.x';
8 7
9 fprintf('%s %s\n', name, ver); 8 fprintf('%s %s\n', name, ver);
10 fprintf('Running in:\n%s\n',folder); 9 fprintf('Running in:\n%s\n', location);
11 end 10 end