help-octave
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Accessing string values from octave_value
From
:
Shamika Mohanan
Subject
:
Accessing string values from octave_value
Date
:
Wed, 12 Jul 2017 14:34:40 +0530
Hello,
How do I access string values from octave_value and octave_value_list?
I have the following code written in c++
octave_value path_dir=feval("pwd");
std::string pd = path_dir.string_value ();
std::cout <<pd<< std::endl;
When I run this code, I get the following error-
octave_base_value::convert_to_str_internal (): wrong type argument 'cs-list'
How do I resolve this error?
Regards,
Shamika
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Accessing string values from octave_value
,
Shamika Mohanan
<=
Re: Accessing string values from octave_value
,
Olaf Till
,
2017/07/12
Prev by Date:
Re: function still missing after installing and loading the package
Next by Date:
Re: Accessing string values from octave_value
Previous by thread:
function still missing after installing and loading the package
Next by thread:
Re: Accessing string values from octave_value
Index(es):
Date
Thread