Re: ignoring an error message
- From: Michael Wild <themiwi.REMOVE.THIS@xxxxxxxxxxxxxxx>
- Date: Tue, 02 May 2006 21:46:18 +0200
Joseph wrote:
hi,
I am trying to use the load of files in a certain category in order
to use them as constraints for my current category optimization .
however, sometimes no previous files in the previous category exist.
for example:
??? Error using ==> load
Unable to read file LynchAAA31-Dec-1998: No such file or directory.
Error in ==> LynchNSAA at 43
load (new_filename2,'shxCont','NSXbR')
where 'shxCont','NSXbR' were intended to be the constrainst. is there
a way to ignore the error when the files don't exist.i.e is there a
way to tell matlab if there is this error message ignore it and
switch to another optimization without the constraint? (i will
develop codes for the optimization without the constraint)
UI hope my question is clear
JF
help exist
help try
help catch
michael
.
- References:
- ignoring an error message
- From: Joseph
- ignoring an error message
- Prev by Date: How to generate random number?
- Next by Date: Dear Matlab guru & experts - large data suggestion
- Previous by thread: ignoring an error message
- Next by thread: Calling a text editor from Matlab
- Index(es):
Relevant Pages
|