Run matlab in linux

1 vue (au cours des 30 derniers jours)
C Zeng
C Zeng le 17 Juin 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.

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Import and Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by