<< mtlb_lower Compatible fonctions mtlb_min >>

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

mtlb_max

Matlab max emulation function

Description

Matlab and Scilab max behave differently in some particular cases:

The function [r[,k]] = mtlb_max(A[,B[,dim]]) is used by mfile2sci to replace [r[,k]] = max(A[,B[,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_max calls:

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

See also


Report an issue
<< mtlb_lower Compatible fonctions mtlb_min >>