Validate matlab code to be syntactically correct

1 visualización (últimos 30 días)
Raphael
Raphael el 16 de En. de 2014
Respondida: Walter Roberson el 17 de En. de 2014
Hi everyone,
I am working on an application in Java which analyzes matlab code.
The first thing I want to accomplish is validating a matlab code file for being syntactically correct.
I have considered trying to compile the code in matlab to C code to see if that works without error, but is there are more elegant way maybe?
Regards, R

Respuestas (1)

Walter Roberson
Walter Roberson el 17 de En. de 2014
Some people use depfun() for this purpose. Others use mlint, but I see a note there that now checkcode is recommended.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by