help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

catch an load file error in octave


From: Torsten Lange
Subject: catch an load file error in octave
Date: Fri, 31 Jul 2009 17:56:31 +0200
User-agent: KMail/1.10.3 (Linux/2.6.27.25-0.1-default; KDE/4.1.3; x86_64; ; )

Hello,

I have many output files from model runs. Some files were created but contain 
no data. That's why f = load('file.txt') stops the whole loop of "read-
files/evaluate content" and I always have to check whether the script still 
runs or not. 

Now I modified the .m-script and wrote a bash script around to pass the whole 
reading list even load() occasionally fails.

Is there any possibility to catch a load()-reading error to proceed with the 
script directly in octave?

Thank you, Torsten


reply via email to

[Prev in Thread] Current Thread [Next in Thread]