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

1 visualización (últimos 30 días)
Hi all,
Is it possible to pass a raw string into mlintmex rather than a filepath?
Thanks,
Jim

Respuesta aceptada

Walter Roberson
Walter Roberson el 9 de Jun. de 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 comentario
Jim Hokanson
Jim Hokanson el 12 de Jun. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Low-Level File I/O en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by