Help with matlab deployment
6 次查看(过去 30 天)
显示 更早的评论
Hi, I am trying to create a standalone window application using matlab. I got it compiled and running properly until I used one of the functions. I can hear a warning sound which I think should be an error. Upon looking at the corresponding function, I found it was the first time I was trying to call a function from the optimization toolbox. So here are my questions: 1. Is there a way to view the error message in this case? 2. Are the toolboxes included in the deployment process? 3. If not, is there a way to include them in the exe file?
Thank you.
0 个评论
回答(1 个)
Image Analyst
2013-2-21
编辑:Image Analyst
2013-2-21
Run the app from a console window. In Windows 7, do Start, then type cmd into the "Search programs and files" edit field. cd to the folder and run your app. Any error messages will remain in the console window after your app crashes.
Most toolbox functions are included in the compiled app. The exception are those functions that have substantial user interfaces with them, like imtool. Perhaps you are trying to call something that has a major GUI that you didn't build yourself. Look at the excluded files log to see what they didn't include in your compiled app. If it's not included then it will throw an error when your code tries to run that function.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!