Borrar filtros
Borrar filtros

Undefined function or variable 'prepareDataTrain'

3 visualizaciones (últimos 30 días)
Francesco Bosso
Francesco Bosso el 27 de Abr. de 2018
Respondida: Muhammad Mohsin Khan el 18 de Mzo. de 2019
Hi, I'm using Matlab 2018a on Ubuntu 17.10 (x64) and I'm following this example to make an LSTM with regression https://it.mathworks.com/help/nnet/examples/sequence-to-sequence-regression-using-deep-learning.html But when I call the method prepareDataTrain, I have this error:
Undefined function or variable 'prepareDataTrain'

Respuesta aceptada

Jose Matías
Jose Matías el 17 de Mayo de 2018
The function source is at the end of the document under the section Example Functions.
  4 comentarios
Jose Matías
Jose Matías el 17 de Mzo. de 2019
Hi,
Copy the source into a m-script and save it in the curren folder with the name of the function (e.g. prepareDataTrain.m).
Regards,
Walter Roberson
Walter Roberson el 17 de Mzo. de 2019
When you visit https://www.mathworks.com/help/deeplearning/examples/sequence-to-sequence-regression-using-deep-learning.html then near the upper right there is a place to click to "Try it in MATLAB". Clicking that will give you a command you can copy to run the code. It will copy the appropriate files for you.

Iniciar sesión para comentar.

Más respuestas (1)

Muhammad Mohsin Khan
Muhammad Mohsin Khan el 18 de Mzo. de 2019
Thank You so much for your replies. Its working now.

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by