octave-maintainers
[Top][All Lists]
Advanced

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

Re: help with cell and struct concatentation in Matlab


From: Mike Miller
Subject: Re: help with cell and struct concatentation in Matlab
Date: Mon, 22 May 2017 11:28:46 -0700
User-agent: NeoMutt/20170113 (1.7.2)

On Mon, May 22, 2017 at 14:18:13 -0400, Nicholas Jankowski wrote:
> >>  [cell(), struct()]  %% should return a cell array
> Error using cell
> Not enough input arguments.
> 
> >> [struct(), cell()]  %% does this error or return a cell array?
> Error using cell
> Not enough input arguments.

Ok, sorry, that's an Octave extension. Please try these instead

  [{}, struct()]

  [struct(), {}]

-- 
mike



reply via email to

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