Mercurial > repos > public > sbplib
view sbplibVersion.m @ 7:8add0564ad6a
Added functions for converting structs to string representations.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 21 Sep 2015 14:50:51 +0200 |
parents | c3c95b7a1a1c |
children | 67ab7fd8054c |
line wrap: on
line source
% Prints the version and location of the sbplib currently in use. function sbplibVersion() scriptname = mfilename('fullpath'); I = find(scriptname == '/',1,'last'); folder = scriptname(1:I); name = 'sbplib'; ver = '0.0.x'; fprintf('%s %s\n', name, ver); fprintf('Running in:\n%s\n',folder); end