help-octave
[Top][All Lists]
Advanced

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

Symbolic variable/expression in octave value list


From: Shamika Mohanan
Subject: Symbolic variable/expression in octave value list
Date: Mon, 10 Aug 2015 11:27:20 +0530

What is the right way to access symbolic expressions in octave value list?

I have the following code-

in = octave_value ('s');
octave_value_list out =feval ("tf", in, 1);
std::cout << out(0).string_value()<< std::endl;

This shows the error-

error: octave_base_value::convert_to_str_internal (): wrong type argument '<unknown type>'

Is there an equivalent like 'is_double_type()' for symbolic expressions?

Regards,
Shamika

reply via email to

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