<< mtlb_setstr Compatible fonctions mtlb_sort >>

Scilab Help >> Code Matlab => Scilab > Compatible fonctions > mtlb_size

mtlb_size

Matlab size emulation function

Description

Matlab and Scilab size behave differently in some particular cases:

The function [d1,[d2,...]] = mtlb_size(X[,dim]) is used by mfile2sci to replace [d1,[d2,...]] = size(X[,dim]) when it was not possible to know what were the inputs while porting Matlab code to Scilab. This function will determine the correct semantic at run time. If you want to have a more efficient code it is possible to replace mtlb_size calls:

Caution: mtlb_size has not to be used for hand coded functions.


Report an issue
<< mtlb_setstr Compatible fonctions mtlb_sort >>