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 - 日本語 - Русский
Aide de Scilab >> Xcos > Fonctions utilitaires Scilab > xcosPalGenerateAllIcons

xcosPalGenerateAllIcons

Update the palette icons (gif files) from a Scilab instance

Syntax

lst = xcosPalGenerateAllIcons(path)

Arguments

path

the palette path

lst

list (names) of the generated block

Description

This functionality updates the image file used on the palette accordingly to the Scilab interface function. It can be used to update the representation of a block at any time after the first generation.

Example

// load all the default palettes
loadXcosLibs();

// will update the default palette
xcosPalGenerateAllIcons(["Palettes" "Recently Used Blocks"]);

See also

  • xcosPalAdd — Add a palette to the Scilab/Xcos palette manager. Optional property can be added to set the category of the palette.
  • 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.

History

VersionDescription
5.4.1 Function added.
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Feb 12 19:15:44 CET 2018