Hi everybody
we are working with MEX file code. the source code is c but its written to be compiled to a MEX file. for now we have two options:
1- Is it possible to download MATLAB compiler on BBXM rev C ?
2- Change C code( source code ) to be a stand alone file.
for us it will be much easier to go with the first option. but we would like to know the beast solution and how to go through it.
pleas tell us if there is other solutions, regarding compiling the MEX file on BBXM rev C.
Thanks,
1- Is it possible to download MATLAB compiler on BBXM rev C ?
No. MATLAB and its compiler only runs at Intel-compatitable platform. The ARM instruction set on BBXM is very different from Intel, you cannot run the MATLAB compiler at BBXM.
The list of system requirements for the current release is available at:
[http://www.mathworks.com/support/sysreq/current_release/](http://www.mathworks.com/support/sysreq/current_release/)
2- Change C code( source code ) to be a stand alone file.
MathWorks provides Matlab Coder, Simulink Coder and BeagleBoard support package for this purpose. You can generate C codes from your MATLAB/ Simulink programme, and get the BeagleBoard-compatitable executables running on BeagleBoard.
http://www.mathworks.com/hardware-support/beagleboard.html
We have a book on this topic which may be helpful
http://bit.ly/17mZV0l
cheers
True, but there's a Free Matlab clone called Octave, compatible with
Matlab on the .m level and also having a decent .mex support. It has a
signal processing toolbox but it's missing the Simulink capability.
Octave has been recompiled for ARM of course---there's even an Octave
Android app.