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