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

Please note that the recommended version of Scilab is 6.1.1. This page might be outdated.
However, this page did not exist in the previous stable version.

Aide Scilab >> Xcos > Fonctions utilitaires Scilab > xcosPal


Instanciate a new Xcos palette on Scilab.

Calling Sequence

pal = xcosPal();
pal = xcosPal(name);
pal = xcosPal(scs_m);
pal = xcosPal([], scs_m);
pal = xcosPal(name, scs_m);



string; the optional palette name


diagram mlist; the optional source diagram


palette tlist; the palette instance


Instanciate a new palette diagram.

The optional name argument can be used to set a name to the palette. The optional scs_m argument can be used to import diagrams as palettes.



// from scratch
pal = xcosPal("My sum palette");
pal = xcosPalAddBlock(pal, "SUM_f");
pal = xcosPalAddBlock(pal, "BIGSOM_f");

// from an old palette
exec(SCI + "/modules/scicos/palettes/Integer.cosf", -1);
pal = xcosPal(scs_m);

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.
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Apr 02 17:36:47 CEST 2013