Run matlab in linux

1 visualizzazione (ultimi 30 giorni)
C Zeng
C Zeng il 17 Giu 2012
Hello,
I want to run matlab .m file in linux, because it may be faster than in Windows.
However it shows an erros:
Undefined function or method 'sortrows' for input arguments of type 'double'.
As you may know, sortrows is a command in Matlab, and I think the problem is I did not set the path, right?
If so how to set and add path? Thanks.

Risposta accettata

Andreas Goser
Andreas Goser il 18 Giu 2012
This sounds like you have multiple SORTROWS on yout path. What does
which sortrows -all
return?
  9 Commenti
Walter Roberson
Walter Roberson il 18 Giu 2012
addpath(cd)
C Zeng
C Zeng il 19 Giu 2012
Thank you very much, it works here!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Data Import and Analysis in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by