Mercurial > repos > public > sbplib
comparison sbplibVersion.m @ 832:5573913a0949 feature/burgers1d
Merged with default, and updated +scheme/Burgers1D accordingly
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Tue, 11 Sep 2018 15:58:35 +0200 |
parents | 77db2ef14191 |
children |
comparison
equal
deleted
inserted
replaced
831:d0934d1143b7 | 832:5573913a0949 |
---|---|
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 |