Export a palette instance to a path.
xcosPalExport(pal, path);
status = xcosPalExport(pal, path);
[status, message] = xcosPalExport(pal, path);
pal: | palette tlist; the palette to export |
---|
: :status: boolean; status of the export : :msg: string; error message :
Export Scilab palette instance to a file.
`loadXcosLibs`_();
pal = `xcosPal`_();
o1 = SUM_f("define");
o2 = BIGSOM_f("define");
pal = `xcosPalAddBlock`_(pal, o1);
pal = `xcosPalAddBlock`_(pal, o2);
xcosPalExport(pal, TMPDIR + "/palette.sod");