Validate matlab code to be syntactically correct

조회 수: 2 (최근 30일)
Raphael
Raphael 2014년 1월 16일
답변: Walter Roberson 2014년 1월 17일
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

답변 (1개)

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

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by