Mercurial > repos > public > sbplib
view sbplibVersion.m @ 624:0e20f4c9a94e feature/grids
Factor out function for calculating the number of components
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 20 Oct 2017 22:59:30 +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