Mercurial > repos > public > sbplib
view sbplibVersion.m @ 816:b5e5b195da1e feature/timesteppers
Add getState to timesteppers, returning the relevant state of the timestepper
- Add getState which returns the 'state' of the specialized timestepper.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Mon, 10 Sep 2018 16:19:16 +0200 |
parents | 67ab7fd8054c |
children | ae15b72c16c1 |
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'; ver = '0.0.x'; fprintf('%s %s\n', name, ver); fprintf('Running in:\n%s\n',folder); end