Questions on calling external executables, not necessarily through MathLink.

learn more… | top users | synonyms

16
votes
0answers
198 views

Calling Sage functions from Mathematica

I recently found a very useful open-source math software called Sage, which provides many useful functions lacking in Mathematica. Since I'm more used to the Mathematica language instead of the ...
9
votes
0answers
120 views

Mathematica is getting slow when repeatedly calling an external program

I found a strange phenomenon that Mathematica is getting slow when I repeatedly called an external program by using ReadList. For example, the following code will display a significant increase of CPU ...
4
votes
0answers
81 views

Can one combine Mathematica with bash script?

For example, I create a Mathematica nb file which can work on a set of parameter values or several files at once. It needs me to change the parameter after finishing computing one parameter. If I ...
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: ...
2
votes
0answers
46 views

Text fields in PDF Export

I am trying to implement a way in Mathematica to export graphics to PDF and then use Inkscape from within Mathematica to post process the resulting output with the pdf-latex export option in Inkscape. ...
2
votes
0answers
89 views

How to use RunProcess to run python interpreter

In a related question How to use RunProcess to import external function? @taliesin provides a very nice answer illustrating using RunProcess to launch a GO http server. Has anyone, or does anyone ...
1
vote
0answers
37 views

Run external process with Run fails

When trying to execute an external process named sim.out with Run, Mathematica returns a number (e.g., 35584), but does not run ...
1
vote
0answers
79 views

How to run external program in graphical mode

I can run system command from Mathematica with Run["command"]. But if the command starts windowed application then nothing ...
1
vote
0answers
73 views

Exchange variable value between Mathematica and Autohotkey script

I have a script written with AutoHotkey and would like to send some data to and from Mathematica. For now I am using the CopyToClipboard[] function in Mathematica ...
1
vote
0answers
115 views

Exporting Classify Models

Currently I have created a simple classifier to classify sentiment from a string of text (or a tweet). The code is very basic and looks something like this: ...
1
vote
0answers
71 views

strange behavior when calling external linux command

My platform is Mac OS X Yosemite 10.10.1. When calling several external linux commands as the following: ...
1
vote
0answers
57 views

Is it possible to pipe the output of EvaluationMonitor to Excel?

I have an EvaluationMonitor setup to capture the points processed by NIntegrate. This is a case where the same function, integrated over the same region in cartesian coordinates yields a dramatically ...
1
vote
0answers
99 views

Attempt to Run[“inkskape”] fails

I wrote a little script to convert various graphics files (.ps, .eps, .pdf) to the raster ones (.png). Export[out, Import[in], ImageSize -> size] fails for some ...
1
vote
0answers
59 views

Operations perform differently in notebook and terminal interfaces

The following command executed on a Raspberry Pi equipped with a RaspiCam behaves differently depending on whether the command is run from the terminal (via wolfram)...
0
votes
0answers
66 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
0answers
132 views

How to use Pandoc in Mathematica 10?

Pandoc can convert documents in markdown etc. to HTML etc.. It can be worked well in cmd or bat file. I want to use Pandoc in Mathematica 10 on Windows7, but it doesn't work. Method 1: ...
0
votes
0answers
52 views

External app link closes when I attempt to use the link to it

I've been using Mathematica 5 and the Radia package. My code has over 50 cells, In Mathematica 5, Radia successfully is initiated at the first cell, and after that, results from it have been used by ...
0
votes
0answers
128 views

Piping StandardForm from within GUI

I am working on a GUI project where I need to pipe a string I constructed in Mathematica into an external program. For example ...
0
votes
0answers
231 views

Connection between Mathematica Connector/J and XAMPP MySQL Database

I have been fiddling around with a problem for a while now, and hope you can help me. Have searched for previous solutions, but nothing seems to work. My problem is as follows: I have XAMPP ...