MATLAB: Undefined Variable Function ‘dlarray’ although the DL Toolbox already installed

Deep Learning Toolboxdlarray undefined function variable

Hello, just recently trying to run the deep learning example on Matlab
The syntax is simple:
rng default % For reproducibility
X = randn(3,5);
dlX = dlarray(X)
But i always get the error
Undefined function or variable 'dlarray'
Although the DL Toolbox already installed.
Uninstalled the DL Toolbox and reinstalled it wont help.
Any suggestion?
Thank you.

Best Answer

dlarray() was released in r2019b. It looks like you're using r2019a so you won't have access to that function, unfortunately.
Related Question