[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rethrow?
From: |
John W. Eaton |
Subject: |
rethrow? |
Date: |
Fri, 26 Jan 2007 04:08:58 -0500 |
On 26-Jan-2007, David Bateman wrote:
| I can't remember early versions of matlab having this function, however
| there seems to be a useful function called "rethrow" that can be used in
| conjunction with try/catch like
|
| try
| do_something
| catch
| do_cleanup
| rethrow(lasterror)
| end
|
| It seems like it wouldn't be hard to add this, with the only complexity
| to me being the format of the variable lasterror..
Sure, that would be useful. We also need lasterror. We have lasterr,
but that is apparently obsolete in Matlab now.
jwe
- rethrow?, David Bateman, 2007/01/26
- rethrow?,
John W. Eaton <=
- Re: rethrow?, Paul Kienzle, 2007/01/26