Last change
on this file since 2953 was 2953, checked in by Eric.Larour, 15 years ago |
Took out system calls in OS, because Matlab tends to hang with system commands.
oshostname should not return the hostname, without trailing whites.
Added routines for analysis runs, typically found in runme.m files.
BamgCallFromMetric: can now call Bamg with metric directly.
ddewhite,ddeblank,ddeblank: strip trailing whites from string.
|
File size:
265 bytes
|
Line | |
---|
1 | function runmemessage(messages,num,type)
|
---|
2 |
|
---|
3 | found=0;
|
---|
4 | for i=1:size(messages,1),
|
---|
5 | if messages{i,1}==num,
|
---|
6 | disp(sprintf('\n%s: %g\n',[messages{i,2} ' in ' type],num));
|
---|
7 | found=1;
|
---|
8 | end
|
---|
9 | end
|
---|
10 | if ~found,
|
---|
11 | error(['runmemessage error message: could not find run ' num]);
|
---|
12 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.