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
960 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
312 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
921 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
737 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
143 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 ...
14
votes
1answer
722 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
286 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
337 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
156 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
1answer
62 views

How to run a shell script from inside Mathematica

I have a very basic question. I have a shell file test.sh that prints let's say Yeah to a file called output.txt: ...
3
votes
0answers
126 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: ...
3
votes
2answers
257 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 ...
1
vote
1answer
228 views

Error loading shared library libML64i3.so

I'm trying to call Mathematica from C. I'm following the example http://mathematica.stackexchange.com/a/32864/14301 with http://reference.wolfram.com/mathematica/tutorial/MathLinkDeveloperGuide-Unix....
0
votes
0answers
64 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 ...