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 CenterFile Exchange에서 Write 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