Undefined function or variable 'lstmLayer': Missing Neural Network Toolbox functions

5 ビュー (過去 30 日間)
José Amorim
José Amorim 2017 年 10 月 9 日
回答済み: NGR MNFD 2021 年 7 月 2 日
I'm trying to follow the Classify Sequence Data Using LSTM Networks tutorial but MATLAB gives me multiple errors when I try to run it.
Many of the functions used in the tutorial couldn't be found giving the error 'Undefined function or variable "function"'. I checked if the Neural Network Toolbox was properly installed and lincensed (which was) and tried to find the respective files in MATLAB nnet toolbox directory (which I dindn't find).
I can run different nnet tutorials like Create Simple Deep Learning Network for Classification where the system succeeds on finding the imageInputLayer function, although it failed previously to find the lstmLayer function.
  2 件のコメント
Abhi Sundararaman
Abhi Sundararaman 2017 年 10 月 11 日
How did you check if Neural Network Toolbox was properly installed? If there are missing files, there's a chance that the installation only partially succeeded. One quick thing to try would be to just reinstall the neural network toolbox. This post describes how to manage toolboxes:
Steven Lord
Steven Lord 2017 年 10 月 11 日
Which release of Neural Network Toolbox are you using? You can check this using the ver function.


回答 (1 件)

NGR MNFD 2021 年 7 月 2 日
Hello . I hope you have a good day. I sent the article to your service. I implemented the coding part in the MATLAB software, but to implement my network, two lines of setlayers, training MATLAB 2014 give me an error. What other function do you think I should replace? Do you think the codes I wrote are correct?( I used gait-in-neurodegenerative-disease-database in physionet website.) Thanks a lot


Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by