Resample function error even with simple examples

2 visualizaciones (últimos 30 días)
Dan Huff
Dan Huff el 11 de Jun. de 2015
Editada: Mayuko Obuchi el 9 de Mayo de 2016
I get an "undefined function 'resample' for input arguments of type 'double' even when doing the simplest tutorial examples on the mathworks website. I've read about this error and having functions in the same directory as working. I've pulled in the resample.m function into my working directory. That just resulted in the same error for the gettimeseriesnames.m function. There must be a better way than bringing all of the matlab function files into my working directory. I've also tried setting my working path as the folder where these functions are stored. No luck....

Respuestas (1)

Ingrid
Ingrid el 11 de Jun. de 2015
when setting the path, you should be sure that you have administrator rights (right click matlab before opening to select this open) + do you add the path with subfolders?
  1 comentario
Mayuko Obuchi
Mayuko Obuchi el 9 de Mayo de 2016
Editada: Mayuko Obuchi el 9 de Mayo de 2016
Hi! Unfortunately I have the same error. All files are in the same directory but "resample" doesn't work. I have only the basic version of Matlab (without any extensions and suites) and am using Matlab for the first time. Previously I used octave... and the script worked perfectly. What am I doing wrong? I would be very thankful for your support!

Iniciar sesión para comentar.

Categorías

Más información sobre File Operations 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