how to use octave with matlab?

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 comentarios

Adam
Adam el 8 de En. de 2015
What is the problem when you run it in Matlab?
lina
lina el 8 de En. de 2015
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 el 8 de En. de 2015
Editada: Adam el 8 de En. de 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.

Iniciar sesión para comentar.

 Respuesta aceptada

Zoltán Csáti
Zoltán Csáti el 8 de En. de 2015

1 voto

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

Más respuestas (2)

Jan
Jan el 8 de En. de 2015

1 voto

You can install Octave for free, so there is no need to use a toolbox in Matlab.
MR Smith
MR Smith el 9 de Ag. de 2019

0 votos

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

Categorías

Etiquetas

Preguntada:

el 8 de En. de 2015

Respondida:

el 9 de Ag. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by