0

I want to run matlab script on ubuntu terminal or bash scripts with system argument.

for example, in python,

sample.py


variable_name=sys.argv[1]

print(variable_name)

and, run like this.

$ python sample.py arguments

How can I run matlab code like this?

1 Answer 1

1

But, what do you want to do? Matlab have a system function system

If you want request user input and save it, input

Sign up to request clarification or add additional context in comments.

3 Comments

okay I'll try it!
I'll look that document! I'm trying to do run same matlab file multiple times with different input variables automatically..

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.