필터 지우기
필터 지우기

executable standalone with mex file

조회 수: 6 (최근 30일)
Enrico  Boscolo
Enrico Boscolo 2015년 7월 2일
답변: Titus Edelhofer 2015년 7월 2일
Hello i'm using a mex file to connect a matlab with a UDP camera (NET camera GigeEpro GP4206M). Mex file is compiled using the following script: "mex -v mexcamera2.cpp sv.synview.class.cpp sv.synview.lib sv.synview.ini.lib sv.synview.imgproc.lib sv.synview.display.lib", the compilation ends correctly and (in matlab) i'm able to use it for connecting the camera. When i try to create the exe file (standalone), all the .m and mex files are automatically included and the coder works correctly generating the exe output. When i open the exe, the application created is not able to connect and open the camera without any errors..simply the camera doesn't start!!. It is quite strange, in matlab it works..the exe not. i'm not sure about the mex compilaton: is it correct to use mex... or i have to use build...or other options? Any suggestion? Many thanks. Enrico
  댓글 수: 1
Adam
Adam 2015년 7월 2일
편집: Adam 2015년 7월 2일
Are there .dll files that are required to run? If so these have to be packaged into the compiler as well as the mex file.

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

답변 (1개)

Titus Edelhofer
Titus Edelhofer 2015년 7월 2일
Hi Enrico,
you need to make sure that the mex file can load the synview.dll (files), which I guess are somewhere "near" your synview.lib files? You can add them in the deploytool ...
Titus

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for IP Cameras에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by