Can you pass a string to parse into mlintmex rather than a filename?

조회 수: 1 (최근 30일)
Hi all,
Is it possible to pass a raw string into mlintmex rather than a filepath?
Thanks,
Jim

채택된 답변

Walter Roberson
Walter Roberson 2015년 6월 9일
The answer looks to be No. However, you might perhaps be able to do what you want using mtree() which can be passed the text to parse. You will probably need to look at the source for it.
  댓글 수: 1
Jim Hokanson
Jim Hokanson 2015년 6월 12일
That's too bad. Presumably it can be run on a Document object, as mlint is clearly showing even on unsaved documents in the editor. I think for now I'll just write to a temp file and run my analysis on that.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Low-Level File I/O에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by