mex @rsp_file (windows) commenting

1 回表示 (過去 30 日間)
Mark
Mark 2013 年 7 月 2 日
Hi All -
I'm using a text file to pass in the necessary command line arguments for mex'ing such as
mex someFunc.cpp @mexOpts.txt
That is working without issue. I was curious to know if it is possible to add comments to this file? I've tried a handful of known comment type identifiers (e.g. //, !, %, REM, /**/) and they all fail. If anyone has had any success and can please share.
Many thanks, Mark

回答 (1 件)

Kaustubha Govind
Kaustubha Govind 2013 年 7 月 2 日
The pound (#) symbol usually denotes comments in MEX options files.
  1 件のコメント
Mark
Mark 2013 年 7 月 2 日
Unfortunately this produces an error and is not the solution:
...\BIN\MEX.PL: Error: '#' not found.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeWrite C Functions Callable from MATLAB (MEX Files) についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by