Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Matlab on PC, need code to run on Linux!

Status
Not open for further replies.

legionaire

Computer
Jun 7, 2004
2
I have several advanced algorithms which I have written in MATLAB for PC. However, for the field that I am in, the benchmark for the algorithm is a system which runs on Linux exclusively.

How do I get get my code to work on Linux? I know that I can generate the C++ code and compile it on linux, but there is the issue of using the matlab libraries. I need to use matlab functions such as fast fourier transformation (fft2) and eigenvector extraction (eig) and several other complicated matlab functions.

I would prefere to be able to extract the C++ code from my matlab code using mcc, along with the appropriate matlab library code and compile everything on Linux however, if that is not possible then compiling the executable on PC is an option but will the executable run on linux? I have to connect this to a larger benchmark system so I cannot use linux programs such as Wine to run windows compiled programs.

Again, I would prefere to get the C++ code along with the matlab libraries and compile everything on linux.

How do I accomplish this?
 
Replies continue below

Recommended for you

We don't really use Linux, except now for testing the algorithms.

Purchusing another Matlab package might be overkill. I really just need to know how to transfer the matlab library files.

Although purhasing the Linux version could be used as a last resort.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor