フィルターのクリア

Add stack to created MException object

5 ビュー (過去 30 日間)
Till Rahlf
Till Rahlf 2014 年 2 月 7 日
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.

回答 (0 件)

カテゴリ

Help Center および File ExchangeError Handling についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by