On Fri, Jul 06, 2018 at 15:24:08 -0700, LucaLuca wrote:
> i try to use global with array string but it give me error:
> global string_dat_rp
> error: operator =: no conversion for assignment of 'cell' to indexed
On Sun, Jul 08, 2018 at 01:43:50 -0700, turbofib wrote:
> if i code :
> string_dat_rp(1)=" example ";
> i receive this error:
> error: TitanFiltri2: A(I) = X: X must have the same size as I
> error: called from
I know, that's why you need to create string_dat_rp as a cell array.
It should be clear that this error is because string_dat_rp is a matrix,
it needs to be a cell array. I already gave you a couple of different
ways to do that.