MATLAB Answers

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

12 views (last 30 days)
Avin Maulana
Avin Maulana on 4 Dec 2019
Edited: Avin Maulana on 4 Dec 2019
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.

  0 Comments

Sign in to comment.

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
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)

Sign in to answer this question.