[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rethrow?
From: |
David Bateman |
Subject: |
rethrow? |
Date: |
Fri, 26 Jan 2007 09:50:47 +0100 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060921) |
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..
Regards
David
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
- rethrow?,
David Bateman <=