|
From: | Juraj Krempasky |
Subject: | supressing eval output |
Date: | Mon, 14 Jan 2002 11:59:43 +0100 |
I'm loading various matrices with
for i=1 : 100
load (eval(sprintf("\"/mat_%d\"",i)));
mstr=eval(sprintf("\"mat_%d\"",i));
m=eval(mstr);
...
so as to keep the m behavior dynamic, I do it through eval(mstr) (peharps there is a better solution). But then the assignment m=eval(mstr) outputs the content of the m even if I have the ";". Any Idea how to supress the eval() output?
thanks
-- _____ / / address@hidden _/_/_/ _/ _/_/_/ /____ Computing & Controls _/ _/ _/ / Paul Scherrer Institute _/_/ _/ _/_/ ____/ CH-5232 Villigen-PSI _/_/ _/ / Tel: ++41 56 310 5131 _/_/_/_/_/_/_/__/_/_/___/ Fax: ++41 56 310 3151
[Prev in Thread] | Current Thread | [Next in Thread] |