Export a palette instance to a path.
xcosPalExport(pal, path); status = xcosPalExport(pal, path); [status, message] = xcosPalExport(pal, path);
palette tlist; the palette to export
string path; where to export the palette (HDF5 formatted file)
boolean; status of the export
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"); | ![]() | ![]() |