필터 지우기
필터 지우기

mex-file automation compiling problem

조회 수: 2 (최근 30일)
Greg
Greg 2013년 9월 21일
Somehow there is no function_name .mexw64 file among files generated with coder command.
(And thus function_name_mex is not found and its call returns standard "Undefined .. for type 'double' ". The coder process runs with no problems, report looks fine. Had run mex -setup and selected compiler, my Matlab version is R2012a)
Running function_name_mex .batch file manually generates a lot of new files with .mexw64 file also. Why doesn't this file generate automatically as it should? Would be grateful for any ideas, thanks.
  댓글 수: 1
Ketan
Ketan 2013년 9월 25일
The target build log tab near the bottom of the compilation report may provide some build diagnostics that explain why this is happening.

댓글을 달려면 로그인하십시오.

답변 (1개)

Fred Smith
Fred Smith 2013년 9월 25일
Hi Greg,
How are you running "coder"? Are you using the codegen command? Or are you using a *.prj file with coder? In the latter case, you may have checked "Generate Code Only", which bypasses actually producing the MEX-function. If this advice doesn't help, could you post the actual command you are using to invoke MATLAB Coder?
Thanks,
Fred

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by