Run matlab in linux

1 view (last 30 days)
C Zeng
C Zeng on 17 Jun 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.

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!