Thread Subject: Deployed Application: Globally get warning or error messages

Subject: Deployed Application: Globally get warning or error messages

From: Jens

Date: 8 Dec, 2011 15:41:08

Message: 1 of 2

Hello,

in previous matlab versions normally when you create a deployed application a console window appears when running the .*exe.

If you got a warning or error message it was displayed as text output in the console window.

In newer matlab versions the console window can be supressed while running the *.exe. And this is what i do and this is what i want.

But how can i get the error or warning messages globally to display and store them whithout to use every time and for each and every code segment a TRY and CATCH sequence? Is there a simple reason?

Jens

Subject: Deployed Application: Globally get warning or error messages

From: Peter Webb

Date: 21 Dec, 2011 19:30:17

Message: 2 of 2

You might try the error / output capturing techniques discussed in this
blog posting:

http://blogs.mathworks.com/loren/2011/11/04/managing-deployed-application-output-with-message-handlers/

On 12/8/2011 10:41 AM, Jens wrote:
> Hello,
>
> in previous matlab versions normally when you create a deployed
> application a console window appears when running the .*exe.
>
> If you got a warning or error message it was displayed as text output in
> the console window.
>
> In newer matlab versions the console window can be supressed while
> running the *.exe. And this is what i do and this is what i want.
> But how can i get the error or warning messages globally to display and
> store them whithout to use every time and for each and every code
> segment a TRY and CATCH sequence? Is there a simple reason?
>
> Jens


--

Peter Webb
peter.webb@mathworks.com

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
deployed Jens 8 Dec, 2011 10:44:11
deploymenttool Jens 8 Dec, 2011 10:44:11
gui Jens 8 Dec, 2011 10:44:11
application Jens 8 Dec, 2011 10:44:11
error Jens 8 Dec, 2011 10:44:11
warning Jens 8 Dec, 2011 10:44:11
console Jens 8 Dec, 2011 10:44:11
message Jens 8 Dec, 2011 10:44:11
rssFeed for this Thread

Contact us at files@mathworks.com