Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português -

Please note that the recommended version of Scilab is 6.1.1. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Xcos > Scilab Utilities Functions > xcosPalAdd


Add a palette to the Scilab/Xcos palette manager. Optional property can be added to set the category of the palette.

Calling Sequence

xcosPalAdd(pal, category);
status = xcosPalAdd(pal);
status = xcosPalAdd(pal, category);
[status, msg] = xcosPalAdd(pal);
[status, msg] = xcosPalAdd(pal, category);



palette tlist or path string; the palette to add


string array; the optional category path to use


boolean; the status of the operation


string; the error message


After setting the blocks into the palette, the user add this function to add a Scilab palette to the Xcos palette manager.

The optional category argument can be used to add the palette to a customized category path. If not specified, the root category is used.


pal = xcosPal();
pal = xcosPalAddBlock(pal, "SUM_f");
pal = xcosPalAddBlock(pal, "BIGSOM_f");

xcosPalAdd(pal, "my Summation blocks")

See also

  • xcosPal — Instanciate a new Xcos palette on Scilab.
  • xcosPalAddBlock — Add a block to a Scilab/Xcos palette instance. Some optional properties can be added to customize the palette icon and the style of the block.


  • Clément DAVID
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:13:00 CEST 2011