diff sbplibLocation.m @ 612:77db2ef14191 feature/grids

Add function for finding the path of sbplib
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 11 Oct 2017 15:43:31 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sbplibLocation.m	Wed Oct 11 15:43:31 2017 +0200
@@ -0,0 +1,4 @@
+function location = sbplibLocation()
+    scriptname  = mfilename('fullpath');
+    [location, ~, ~] = fileparts(scriptname);
+end