textscan and Regexp form .c file

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.

Antworten (0)

Kategorien

Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 23 Jan. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by