Can anyone with access to the new "Matlab Coder" product show some output of the translation to C? -
matlab coder released mathworks product. understanding is matlab-to-c compiler biggest advantage on previous solutions being resulting program not need linked against matlab shared library.
can access product confirm above? dependencies of translated programs , kind of performance talking about? see example outputs, know if resulting c programs can understood , improved without access matlab source.
if done right powerful, allowing rapid prototyping in matlab , instantaneous conversion c when things getting serious. kind of whish doesn't work python+numpy+scipy.weave still superior ^^.
matlab coder can allocate memory using malloc, can generate c code matlab functions operate on dynamically sized data. can choose option of static allocation maximum size variables.
re: using blas matrix multiplication – while generated c code doesn’t automatically include processor/platform specific optimizations, there feature called target function library, allows users write own implementation of primitive operations (such matrix multiplication), , include them in generated code. can hook blas libraries matlab coder via method. there’s ability include optimized processor specific calls larger functions through custom code integration , conditional compilation lets specify 1 set of code use code generation, , set simulation (for example, optimized fir function texas instruments dsp , functionally equivalent code simulation can execute on pc written in c or in matlab).
hope helpful -- arvind ananthan; product manager matlab coder; mathworks
Comments
Post a Comment