user1481142
user1481142

Reputation: 83

How do you launch matlab from the linux terminal while also opening a matlab file?

If I want to open file.m in the matlab editor, is there a way to do that directly from the linux terminal? I can't seem to find the answer anywhere.

Upvotes: 4

Views: 1891

Answers (1)

Isaac
Isaac

Reputation: 3616

Start matlab with the following command to open a file:

matlab -r 'edit <filename>'

Upvotes: 3

Related Questions