Effacer les filtres
Effacer les filtres

Add stack to created MException object

5 vues (au cours des 30 derniers jours)
Till Rahlf
Till Rahlf le 7 Fév 2014
Hi,
can I add stack Information to a created object.
I have created a MException object, like this.
myEx = MException('foo:bar','myErrString')
and I have a stack, like
myStack = struct('file','myFile','name','myName','line',42)
How can I add stack information to a MException object?
myEx = MException('foo:bar','myErrString',myStack ) does not work.

Réponses (0)

Catégories

En savoir plus sur Error Handling dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by