How does MATLAB Compiler handle warning and error message commands?

6 次查看(过去 30 天)
I just got Matlab Compiler and would like to know how warning and error message commands are handled ... when I compile and run an app no command line or console pops up so where do those messages show up? Is there a compiler option that will launch a console when an application is launched?
Thanks,
Josh

回答(2 个)

Sean de Wolski
Sean de Wolski 2017-5-22
You can launch the app from a console and then errors/warnings/displays will show up in it.
  1 个评论
Luis Oviedo
Luis Oviedo 2018-11-27
Hi Sean,
Thanks for your answer. I face the same issue as Josh, could you please explain yourself a bit, how open the console and how to call the app?

请先登录,再进行评论。


Stefanie Schwarz
Stefanie Schwarz 2024-2-23
Make sure to uncheck "Do not display the Windows command shell (console) for execution" under "Additional runtime settings" in the Application Compiler tool of MATLAB Compiler. You should be able to see all warnings and errors in that console.

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by