how assertion raised exceptions are handled in matlab

Hello,
Could anyone can explain how an assertion raised exception is handled . If possible could you please send a pseudo code for it.
Any help would be appreciated.
Thank you.

Respuestas (1)

>> try; assert(false,'man:from:mars','I only eat guitars'); catch me; disp(me); end
MException object with properties:
identifier: 'man:from:mars'
message: 'I only eat guitars'
stack: [0x1 struct]
cause: {}

Categorías

Más información sobre Measurements and Spatial Audio en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 7 de Dic. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by