필터 지우기
필터 지우기

Matlab crashes when calling dll

조회 수: 3 (최근 30일)
vinothkannan K
vinothkannan K 2013년 5월 31일
We have created a dll for an application if we try to call that dll(run loader.m file)suddenly matlab crashes..Need suggestion in this regard
  댓글 수: 2
Kaustubha Govind
Kaustubha Govind 2013년 5월 31일
You probably also want to clarify that you are calling into a DLL generated by Simulink Coder, and paste the prototypes of the exports from the library from the header file.
vinothkannan K
vinothkannan K 2013년 6월 5일
편집: vinothkannan K 2013년 6월 5일
Hi Kaustubha Govind, We generated header file from dll, even though matlab crashes, when running dll.
This is the command we used for generation of header file
loadlibrary('TOLI_win32','TOLI.h','mfilename','TOLI_header');

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

답변 (1개)

Craig Cowled
Craig Cowled 2013년 5월 31일
Try using 'loadlibrary'.
  댓글 수: 12
vinothkannan K
vinothkannan K 2013년 6월 5일
Ok i will check in debug mode, Thanks for your support.,
vinothkannan K
vinothkannan K 2013년 6월 6일
편집: vinothkannan K 2013년 6월 6일
Hi Friedrich
1)Can you please explain about compiling dll in debug mode?
2) What are all the configuration parameter settings for debug mode dll compilation?
3) How to attach debugger to it at runtime?
Thanks in advance

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

카테고리

Help CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by