Although matlab has fairly good optimization for a lot of matrix-math
routines, it's likely that you could write code that would do exactly
what you need to in C. Coding in C or Java is a much easier task for the
TS boards than porting matlab code to run on the TS boards. Aside from
that, matlab doesn't have binaries (or source for that matter) available
for the arm platform.
You might want to look into FFTW if you're using fast-fourier transforms
in your code. They probably have done work for the ARM platform. But
keep in mind what Charlie said - there is at the moment zero floating
point acceleration on these arm boards as shipped by TS unless you
hand-optimize floating point for the crunch coprocessor. It is not
suggested to do any sort of intensive number crunching and it will be
quite slow.
You'll only see an improvement in performance if you compile a
completely new kernel, a completely new userland, using a completely new
cross-toolchain according to the EABI. That means all libraries and
applications must be compiled with the EABI.
Very few (any?) members of this list are using the EABI.
What is the area of your matlab application? Maybe if we had a better
idea specifically we could shed some light on how the TS boards can help
you.
Please keep in mind, however, that this mailing list is intended
specifically for the TS-7000 boards and related questions, not so much
for cygwin, matlab, or general programming discussion.
In any event, good luck ;-)
~/Chris
victorp_27 wrote:
> Hi everyone. I want to use some matlab functions(like hilbert
> transform) in my c code, so I can later cross compile them using arm-
> linux-gcc in cygwin and the i can use them in my TS. Does anybody know
> how I can do this or something similar?. thanks
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|