textscan and Regexp form .c file

1 次查看(过去 30 天)
Sagar Talaviya
Sagar Talaviya 2018-1-23
If I do have a .C file, I need to find control function name and data type. how will use MATLAB command? example: .c file
#include "headerfile.h"
double PI_A (double a, double b)
{
double c;
c=a+b;
return c;
}
I want function name and data type as a output. PI_A is function name, double is datatype.

回答(0 个)

产品

Community Treasure Hunt

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

Start Hunting!

Translated by