Resample function error even with simple examples

2 vues (au cours des 30 derniers jours)
Dan Huff
Dan Huff le 11 Juin 2015
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....

Réponses (1)

Ingrid
Ingrid le 11 Juin 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 commentaire
Mayuko Obuchi
Mayuko Obuchi le 9 Mai 2016
Modifié(e) : Mayuko Obuchi le 9 Mai 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!

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by