Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Manpiulate Command line from within Perl Code

by pvaldes (Chaplain)
on Apr 11, 2015 at 01:35 UTC ( #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
Node Status?
node history
Node Type: note [id://1123105]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2019-10-24 03:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?