Questions on calling external executables, not necessarily through MathLink.

learn more… | top users | synonyms

41
votes
3answers
5k views

Calling MATLAB from Mathematica

How can I call MATLAB functions directly from Mathematica and transfer data/variables between the two systems?
25
votes
3answers
1k views

Calling external commands without showing command prompt on windows

I'm playing around with some code that's calling external command-line commands on a windows platform, and when doing this, the command prompt will pop up quickly and then disappear. This is not a ...
11
votes
1answer
933 views

Example program for calling Mathematica from C

I want to call Mathematica from a C program. Suppose I have two numbers x = 2 and y = 3. I want to define ...
4
votes
1answer
299 views

Can't run Bash scripts from within Mathematica 10.1

I am working on Debian 8 (Jessie) and Mathematica 10.1 (64-bit) Home Edition. I have created a script named curl_fetch.sh. It contains the line: ...
14
votes
1answer
916 views

Automating SFTP upload within Mathematica?

I have MMA-generated html and would like to automate uploading to a named directory to a web host via SFTP or HTTP POST, ideally without creating local temp files. The closest question I could find on ...
6
votes
1answer
733 views

Evaluate while external command is being run [duplicate]

Possible Duplicate: Computing Many Slow I/O Operations I'm launching an external command with the Mathematica front end that takes two arguments: ...
4
votes
1answer
141 views

RunProcess seemingly does not work on my Windows system [closed]

System: Windows 10 professional. Mathematica Version: 10.3.0 English. RunProcess doesn't work in my computer as described in tutorial. The right result the ...
3
votes
2answers
251 views

Interact with external program

I'm using NMinimize with Mathematica 7 using an external Fortran program to get the target value to minimize. I'm doing it using RunThrough with the variables as ...
14
votes
1answer
707 views

How to run an external program in parallel with a Mathematica package?

Under Mathematica 8 (Linux x84_64) I was able to run an external program in parallel from a Mathematica package. However this procedure breaks down under Mathematica 9. Within my Mathematica package ...
4
votes
1answer
282 views

Is it possible to interact with an external program's command-line interface?

I am performing a calculation in Mathematica which relies on calls to an external program that acts as a black box for calculating a function $f$, and I would like to know if it is possible for ...
3
votes
1answer
333 views

Setting bash environment within external call

I would like to run external command from Mathematica. For this I need to have bash environment configured via reading the content of ${HOME}/.bashrc file. When I ...
7
votes
1answer
155 views

How to get output from standard error in command line?

I'm trying to run some external command line program in Mathematica, and I have problem getting the output. For example, ...
3
votes
0answers
124 views

CCodeGenerate and calling external functions

Is it possible to use CCodeGenerate to generate code which calls functions from other C libraries? For example, I would like to do something like this: ...
0
votes
0answers
60 views

Calling Polymake functions from Mathematica

I'm trying to do some polyhedral manipulations in Mathematica by using some functions from Polymake. But I have difficulty in passing the result from Mathematica to Polymake as an input without ...
0
votes
1answer
70 views

Call an executable

I have one data file, one executable file and one *.txt with the results from running the executable, all within the same folder. The folder has the path C : \ Users \ Dimitris \ Desktop \C32EXE ...