help-octave
[Top][All Lists]
Advanced

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

Re: declare global as matrix...problem to use it


From: Mike Miller
Subject: Re: declare global as matrix...problem to use it
Date: Sun, 8 Jul 2018 10:03:19 -0700
User-agent: Mutt/1.10.0 (2018-05-17)

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.

-- 
mike

Attachment: signature.asc
Description: PGP signature


reply via email to

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