when a matlab code is generated through matlab coder many files are generated .what is the role of these file can some elobrate so that me and other who looks this question will get benifit

3 views (last 30 days)
when a matlab code is generated through matlab coder many files are generated .what is the role of these file can some elobrate so that me and other who looks this question will get benifit

Answers (1)

Deepesh B
Deepesh B on 2 Dec 2014
Hi That are some functions and matlab data type specifications and header files. that files are very important to build the code. U have to use ert_main.c if u are selecting ert.tlc while generating code. ert_main.c will be the main code. Before that i am suggesting u to study Matlab Coder and simulink embedded coder toolboxes
  1 Comment
amarjeet singh
amarjeet singh on 2 Dec 2014
thanks sir for fast answer sir how can convert it proper C++ code so that we do not need that data type. my main problem is that I am using my algorithm to solve benchmarks function but matlab code is taking so much time so to reduce it i am thinking to convert it in C++ but because of these data type I am getting problem and I am not to good in C++ data type

Sign in to comment.

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!