MATLAB Answers

How to see called function in a c file generated from MATLAB coder

1 view (last 30 days)
wang wang
wang wang on 2 Dec 2019
Using MATLAB coder ,I generated a c file.I call it A.c,in this file,I found this function will call other function,but the function is only declarated and I cannot find its definition (this called function in matlab supported for c/c++code generation).My first solution is that writing the function by myself. however, It is inefficient.Did anyone have the same problem? Thank you in advance.

Answers (1)

Darshan Ramakant Bhat
Darshan Ramakant Bhat on 30 Dec 2019
It depends on the "other" function. If it is an utility function (not user written), then MATLAB can make use of its own internal library.
You can use packNGo workflow to export all the relevent source code, in that way you can examin the codes better.
Hope this will help you.




Community Treasure Hunt

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

Start Hunting!