Skip to content
rdbyk edited this page Jan 17, 2018 · 133 revisions

Tips for Efficient Scilab Coding

  • Use type instead of typeof, whenever possible.
  • Use nargin, nargout instead of argn.
  • Use x==[] instead of isempty(x), whenever possible.
  • Use issquare instead of size, whenever possible.
  • Use length(x) instead of size(x,'*'), whenever possible.
  • Use &&, || instead of &, |, whenever possible.

Clone this wiki locally