Need help with eval additional info

Doug Stewart dastew at sympatico.ca
Sun Dec 2 13:12:05 CST 2007


Muthiah Annamalai wrote:
> Doug Stewart wrote:
>> If i return the string  as below it works -- so why doesn't it work 
>> in side of ilt.m??
>>
>> r=ilt(sys,'i')
>>
>> eval(r);
>>
>>
>> Also eval always prints out results even when i tell it to be quiet.
>>
>>
>> Doug Stewart
> Your question is unclear.
>
> I suppose you want to do,
>
> x = somecrazyfunc(); #returns a string.
>
> x = strcat(x," ;"); #using a ';' prevents any output.
> eval(x)
>
> -Muthu
>
thanks that fixed the part about it not being quiet.


The other part is still a mystery  to me.
Doug


More information about the Help-octave mailing list