MatLab set environment path

7 sec read

Quite often you need to call external or system commands inside MatLab. If those external commands are not in path, you need to add them. Here is how:

setenv('PATH', [getenv('PATH') ':/ToolsMac/bin/']);


Don't want to miss new papers in your field? Check out Stork we developed:

nirs2img, create an image file from NIRS data

I was asked where to get nirs2img script. Here it is. The download link is at the bottom of this article. nirs2img is to...
Xu Cui
51 sec read

mergefile.m – a MatLab script to merge CSV files

My wife asked me to write a script to merge some csv files she has. Usually this can be accomplished by a simple command in...
Xu Cui
35 sec read

Leave a Reply

Your email address will not be published. Required fields are marked *