Compiling MATLAB code: Works in MATLAB but not when compiled
조회 수: 4 (최근 30일)
이전 댓글 표시
I have a program that works when run using MATLAB, but when I compile it and execute it, I get to a certain point where it doesn't output anything. It just stops responding. It is using 1/4 of the CPU at this time, but it is not outputting any errors into the command line. I have MCR installed for my specific type of matlab (using 32-bit 2013a, compiling with 32-bit 2013a). Is there something else I am supposed to install with MCR? Like a runtime library?
댓글 수: 0
채택된 답변
Image Analyst
2014년 5월 6일
편집: Image Analyst
2014년 5월 6일
See the FAQ: http://matlab.wikia.com/wiki/FAQ#My_standalone_executable_won.27t_run_on_the_target_computer._What_can_I_try.3F
And try throwing in some fprintf's in there so you can track what part of the code it's executing.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!