Compiling MATLAB code: Works in MATLAB but not when compiled
7 次查看(过去 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!