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

1 vue (au cours des 30 derniers jours)
Jim Hokanson
Jim Hokanson le 9 Juin 2015
Commenté : Jim Hokanson le 12 Juin 2015
Hi all,
Is it possible to pass a raw string into mlintmex rather than a filepath?
Thanks,
Jim

Réponse acceptée

Walter Roberson
Walter Roberson le 9 Juin 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 commentaire
Jim Hokanson
Jim Hokanson le 12 Juin 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by