Hi all, the attached script is by using octave I cannot run it. if there is a toolbox or something required please tell me or can we simplify it to run it by matlab?
thank you in advance

3 commentaires

Adam
Adam le 8 Jan 2015
What is the problem when you run it in Matlab?
i get this error at the beginning
??? Undefined function or method 'waves' for input arguments of type 'char'.
and this when plotting
??? Error using ==> set
Value must be a handle
Adam
Adam le 8 Jan 2015
Modifié(e) : Adam le 8 Jan 2015
Well, sounds like it has been solved below, though that error message you posted cannot relate to the code you posted which does not include 'waves' anywhere in it unless you are trying to call the script with a filename that has spaces in it.

Connectez-vous pour commenter.

 Réponse acceptée

Zoltán Csáti
Zoltán Csáti le 8 Jan 2015

1 vote

Change xlable to xlabel and ylable to ylabel. Then it will work.

Plus de réponses (2)

Jan
Jan le 8 Jan 2015

1 vote

You can install Octave for free, so there is no need to use a toolbox in Matlab.
MR Smith
MR Smith le 9 Août 2019

0 votes

Is there a way to import an Octave package into Matlab?

Community Treasure Hunt

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

Start Hunting!

Translated by