Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
ls vs. dir

Subject: ls vs. dir

From: Chuck37

Date: 28 Apr, 2011 00:14:05

Message: 1 of 1

I don't know what changed, but I'm on 2010b under Linux and the "ls" command seems to have stopped working. When I use it I always get the contents of my unix home directory regardless of which directory matlab actually claims I'm in. The file listing on the matlab desktop is correct, the path is working as expected, and "dir" lists out the correct files, but "ls" does not. If I type "!pwd" it always shows my home directory, so maybe "ls" is following that. Any ideas, besides writing a script called "ls" with "dir" inside it?

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us