in reply to Manpiulate Command line from within Perl Code

Hi, I am trying to run a matlab script from my perl code.

use backticks `matlab-command arguments`, not: system("matlab-command" "arguments") here

when new1.m are run some values are set

put those values in a variable

and then I am trying to run another script, test.m, in the same session.

I would want to parameterize the path , i.e new1.m file should be replaced by whatever user enters as input.

See @ARGV

  • Comment on Re: Manpiulate Command line from within Perl Code