Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
Scilab Help >> Data Structures > makecell

makecell

Creates a cell array.

Syntax

s = makecell(dims,a1,a2,...an)

Arguments

dims

a vector with positive integer elements, the cell array dimension

a1,a2,...,an

Sequence of Scilab variables, n must be equal to prod(dims)

s

resulting cell array

Description

s= makecell(dims,a1,a2,...an) creates a cell array of dimensions given by dims with the given input arguments. The ai are stored along the last dimension first.

Examples

makecell([2,3],1,2,3,'x','y','z')

See Also

  • cell — creates a cell array of empty matrices

Comments

Author : Adrien Granger posted the 14/03/2013 19:17
Given example does'nt sem to work on my latest version

I just get :


-->makecell([2,3],1,2,3,'x','y','z')
!--error 4
Variable non définie : makecell
Reply to this comment
Please login to comment this page


Add a comment:
Please login to comment this page.

Report an issue
<< lstcat Data Structures matrices >>

Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:39 CEST 2016