Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1123105]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-25 19:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found