octave-maintainers
[Top][All Lists]
Advanced

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

Re: convert cell in string


From: PhilipNienhuis
Subject: Re: convert cell in string
Date: Sat, 14 Jul 2018 13:11:11 -0700 (MST)

turbofib wrote
> hi,
> i want to convert cell in string
> 
> Example :
> 
>  typeinfo(g)
> 
> ans = cell
> 
> how can i do to convert?

If g is scalar (check with "size (g)"), s/th like
 g = g{1}
-or-
cell2mat (g)

Philip



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html



reply via email to

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