File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 33% Obtain absolute path to this script
44this_path = fileparts(mfilename(' fullpath' ));
55
6+ % Environment variable with absolute path to the cmapM base folder
7+ % Referenced within the library using the command cmapmpath
8+ setenv(' CMAPMPATH' , this_path );
9+ fprintf(1 , ' Added cmapM to the search path\n ' );
10+
611% Add appropriate paths to matlab environment
712addpath(genpath(this_path ));
813addpath(genpath(fullfile(this_path , ' bin' )));
914
1015% Download and unpack assets if not already present
1116download_cmapm_assets ;
1217
13- % Environment variable with absolute path to the cmapM base folder
14- % Referenced within the library using the command cmapmpath
15- setenv(' CMAPMPATH' , this_path );
16- fprintf(1 , ' Added cmapM to the search path\n ' );
You can’t perform that action at this time.
0 commit comments