Mercurial > repos > public > sbplib
comparison sbplibVersion.m @ 886:8894e9c49e40 feature/timesteppers
Merge with default for latest changes
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 15 Nov 2018 16:36:21 -0800 |
parents | 77db2ef14191 |
children |
comparison
equal
deleted
inserted
replaced
816:b5e5b195da1e | 886:8894e9c49e40 |
---|---|
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'; | 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 |