Scilab 6.0.1
- Scilab Help
- Matlab to Scilab Conversion Tips
- Matlab-Scilab equivalents
- C
- case (Matlab function)
- cat (Matlab function)
- cd (Matlab function)
- ceil (Matlab function)
- cell (Matlab function)
- cell2mat (Matlab function)
- cellstr (Matlab function)
- chol (Matlab function)
- cla (Matlab function)
- clc (Matlab function)
- clear (Matlab function)
- clf (Matlab function)
- clock (Matlab function)
- close (Matlab function)
- closereq (Matlab function)
- colordef (Matlab function)
- complex (Matlab function)
- conj (Matlab function)
- continue (Matlab function)
- conv (Matlab function)
- conv2 (Matlab function)
- cos (Matlab function)
- cosh (Matlab function)
- cot (Matlab function)
- coth (Matlab function)
- cputime (Matlab function)
- csc (Matlab function)
- csch (Matlab function)
- cumprod (Matlab function)
- cumsum (Matlab function)
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
colordef (Matlab function)
Set default property values to display different color schemes
Matlab/Scilab equivalent
Matlab | Scilab |
No equivalent |
Particular cases
- [h = ]mtlb_colordef(color_option)
Scilab equivalent is fig = gcf();fig.background = -1;[h = fig]; if color_option is equal to "black" or "none" and fig = gcf();fig.background = -1;[h = fig]; else.
- [h = ]mtlb_colordef(fig,color_option)
Considering fig is a graphics handle, Scilab equivalent is fig.background = -1;[h = fig]; if color_option is equal to "black" or "none" and fig.background = -2;[h = fig]; else.
- [h = ]mtlb_colordef('new',color_option)
Scilab equivalent is fig=scf(max(winsid())+1);fig.background = -1;[h = fig]; if color_option is equal to "black" or "none" and fig=scf(max(winsid())+1);fig.background = -2;[h = fig]; else.
Report an issue | ||
<< closereq (Matlab function) | C | complex (Matlab function) >> |