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

1 回表示 (過去 30 日間)
Jim Hokanson
Jim Hokanson 2015 年 6 月 9 日
コメント済み: Jim Hokanson 2015 年 6 月 12 日
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 Center および File ExchangeLow-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