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

4 views (last 30 days)
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

Adam Danz
Adam Danz on 4 Dec 2019
dlarray() was released in r2019b. It looks like you're using r2019a so you won't have access to that function, unfortunately.
  1 Comment
Avin Maulana
Avin Maulana on 4 Dec 2019
Edited: Avin Maulana on 4 Dec 2019
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)

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!