Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Manpiulate Command line from within Perl Code

by pvaldes (Chaplain)
on Apr 11, 2015 at 01:35 UTC ( [id://1123105] : note . print w/replies, xml ) Need Help??


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