MATLAB: Minmax does not work in matlab 2018b

minmax does not work in matlab 2018b

Hi,
Does anybody know why MATLAB 2018 b version gives this error while using the minmax function?
'minmax' requires Deep Learning Toolbox.
Is there any change?
Thanks

Best Answer

is simply equivalent to:
[min(M,[],2),max(M,[],2)]
for a matrix M.