Connect to Matlab engine from C in Linux

后端 未结 2 2045
执念已碎
执念已碎 2021-01-02 11:55

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

相关标签:
2条回答
  • 2021-01-02 12:09

    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.

    0 讨论(0)
  • 2021-01-02 12:18

    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:

    • Not having csh installed
    • Having the environment set wrong, sometimes LS_COLORS screws things up with csh
    0 讨论(0)
提交回复
热议问题