Undefined Variable Function 'dlarray' although the DL Toolbox already installed

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.

 Accepted Answer

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

1 Comment

My bad, it really is. Turns out the dlarray function only available since R2019b.
Thanks for the answer!

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!