From: S. Abb on
Hello,

I am trying to compile some matlab code in C files that I will then use to cross-compile for an ARM processor on an embedded system. Is this possible?

So far I was able to use mcc to generate the C source files and a standalone app that I was able to use. But I am unable to cross-compile the C source file because of many dependencies. Where are these found?

A .ctf archive was generated with many files, are these the files needed to deploy my application without dependencies on matlab installation?

Hope someone can shed some light for me on this issue.

Thank You
From: Steven Lord on

"S. Abb" <mahdoum(a)gmail.com> wrote in message
news:hs8r51$kls$1(a)fred.mathworks.com...
> Hello,
>
> I am trying to compile some matlab code in C files that I will then use to
> cross-compile for an ARM processor on an embedded system. Is this
> possible?

Take a look at Embedded MATLAB.

http://www.mathworks.com/products/featured/embeddedmatlab/index.html?BB=1

> So far I was able to use mcc to generate the C source files and a
> standalone app that I was able to use. But I am unable to cross-compile
> the C source file because of many dependencies. Where are these found?
>
> A .ctf archive was generated with many files, are these the files needed
> to deploy my application without dependencies on matlab installation?

Yes, so unless your ARM processor runs the OS on which you're compiling your
application (which I'm guessing is NOT the case) that will not work for the
purpose you described. Look at Embedded MATLAB (including the
documentation) on the page above.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ