I\'m trying to call the Matlab engine programatically from a C program on Linux (Matlab r2009a, Ubuntu 9.10).
I\'ve got my own code (which works in Windows), but for
MathWorks has documented this on their website, specifically the following note:
Note: To run MATLAB engine on the UNIX platform, you must have the C shell
csh
installed at/bin/csh
.
You should run strace
on your C program to see where things go wrong. Typically, I found that most of the time it comes down to either:
csh
installedLS_COLORS
screws things up with csh