diff sbplibVersion.m @ 630:31abb4b11133 feature/grids

Merge
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 20 Oct 2017 23:31:20 +0200
parents 77db2ef14191
children
line wrap: on
line diff
--- a/sbplibVersion.m	Fri Oct 20 23:30:05 2017 +0200
+++ b/sbplibVersion.m	Fri Oct 20 23:31:20 2017 +0200
@@ -1,11 +1,10 @@
 % Prints the version and location of the sbplib currently in use.
 function sbplibVersion()
-    scriptname  = mfilename('fullpath');
-    [folder,~,~] = fileparts(scriptname);
+    location = sbplibLocation();
 
     name = 'sbplib (feature/grids)';
     ver = '0.0.x';
 
     fprintf('%s %s\n', name, ver);
-    fprintf('Running in:\n%s\n',folder);
+    fprintf('Running in:\n%s\n', location);
 end
\ No newline at end of file