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

1 view (last 30 days)
Hi all,
Is it possible to pass a raw string into mlintmex rather than a filepath?
Thanks,
Jim

Accepted Answer

Walter Roberson
Walter Roberson on 9 Jun 2015
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 Comment
Jim Hokanson
Jim Hokanson on 12 Jun 2015
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.

Sign in to comment.

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!