For questions on interfacing or getting Mathematica to work together with other software or technologies.

learn more… | top users | synonyms (1)

1
vote
0answers
68 views

How to trigger Emacs to open a file from Mathematica?

I thought Run will do the trick: Run["emacs -q " <> myfile] Run["! emacs -q " <> myfile] But it does not! I'm ...
0
votes
0answers
120 views

Internal coupling of Fortran and Mathematica codes

I am writing a code in Mathematica. There is another code in Fortran which needs boundary conditions (as inputs) to run. Fortran inputs are the outputs of the Mathematica code. I can do this manually ...
0
votes
1answer
93 views

Running external program from command line

This command works on Windows: ReadList["!" <> "echo hello", String] Assuming the "!" suggests Windows command shell (verified as ...
1
vote
0answers
37 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 ...
6
votes
1answer
93 views

Using Wolfram Library Reference in Excel VBA

Long time ago I did this question to MathGroup, but without success. In Excel VBA, in Tool/References, there is a option called "Wolfram Mathematica Control 8.0 Type Library" I belive that ...
8
votes
0answers
152 views

Step-by-step instruction to Install C Compiler

I remember using C compiler on my previous computers, and I never had any problems installing them. At this time, however, I failed to work through the instructions provided in Mathematica ...
7
votes
1answer
216 views

How to integrate Mathematica with other software

Mathematica is a fantastic platform for Mathematical analysis, physics, quantitative finance and most realms of scientific work. However, it doesn't serve well for general purpose programming, in ...
0
votes
0answers
56 views

How to call rsync from Mathematica?

I've tried following a few answers on how to control processes from Mathematica, but none of them are working for me. I am using rsync to download some files with flags for resumeability and ...
2
votes
2answers
154 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 ...
4
votes
1answer
193 views

How can I integrate Open-CV with Mathematica?

I would like to run Open-CV functions from within Mathematica, can anyone figure out how to do this?
7
votes
1answer
97 views

Is it possible to move .mx file from one server to other?

I have mathematica file in one server along with .mx file. Is there any way to move the .mx file from one server to other such ...
3
votes
1answer
186 views

How can I trans-compile Mathematica into another language?

I'm looking for an exhaustive list of source-to-source compilers to all other languages, if any exist that is.
7
votes
1answer
78 views

How to call external commands with parameters on Win7?

I'm trying to use the Win7 command prompt from a Mathematica notebook. I'd like to do a couple simple things, but I can't seem to get the syntax straight: open explorer.exe in a specific location ...
3
votes
1answer
95 views

Compatibility of Mathematica 10 and Endnote 7 on OS X

Given the new updates, are EndNote 7 and Mathematica 10 compatible when running on OS X?
9
votes
3answers
479 views

How to trigger UNIX command-line command from Mathematica notebook?

At UNIX command line, one can run ls -la $HOME. How to trigger this from Mathematica notebooks? Run["!ls -la $HOME"] ...
11
votes
0answers
135 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 ...
6
votes
1answer
197 views

What devices are supported by the connected devices framework?

One of the new features in v10 is support for connected devices. How can I find out if a particular device is supported by Mathematica? Is there a complete list? Is support being added continually? ...
9
votes
1answer
296 views

Wikipedia People only search

I am trying to search people from Wikipedia(For example .*John.* in REGEX). The following query is close, but it isn't generalized like ...
5
votes
0answers
144 views

Can Apple's Numbers spreadsheet link to a Mathematica function?

I use Apple's Numbers spreadsheet for a single thing, a double entry accounting model to understand complicated financial transactions. A current model depends on the value of a single initialization ...
4
votes
1answer
77 views

Control Object Annoyance

This may seem like is a trivial annoyance, but it really is a control object "convenience of use" issue. Example: I want to use a popup menu to determine which Excel worksheet I take data from, as ...
1
vote
0answers
107 views

Load a Mathematica Notebook using .Net code

I have gotten a tremendous amount of information from the question posted at (Load a Mathematica Package via .Net code), which my application is very similar to. Specifically in that thread, the ...
2
votes
1answer
239 views

Converting code in other languages to Mathematica code

Do you know of any work being done on the idea of bringing in code from languages like PERL, PHP, Python, etc.? That is import the code in some way and then convert it to Mathematica code?
2
votes
1answer
149 views

Clojuratica setup

I am trying to get Clojuratica set up (MMa v 9 free trial) (on a Mac running Mavericks) I am following the instructions in "Clojure Data Analysis Cookbook" but have also followed the instructions: ...
2
votes
0answers
146 views

Calling Mathematica from Lazarus/Freepascal

I will appreciate if anyone can give me an hint about freepascal and mathematica mathlink communication. I'd like to build a Form using Lazarus/freepascal that call mathkernel. I'm trying to move ...
2
votes
1answer
177 views

Exported PDF copy-and-pastable

Is it possible to export pdf documents that allow the user to copy and paste the exported code/text? The following table demonstrates what is pasted after copying the example symbols from a pdf ...
1
vote
1answer
436 views

Calling Mathematica from Java

I'm trying to write a Java program that uses Mathematica code, but when I compile it, a window appears asking for MathLink. I enter ...
11
votes
1answer
408 views

How do I evaluate Mathematica expressions and insert them in a LaTeX file?

I want to make use of Mathematica as the backend to solve some computations used in my LaTeX input file. As I have no knowledge to make it in Mathematica, I used Maxima as explained in the following ...
6
votes
1answer
202 views

How can multiple null terminated strings be handled in a DLL-function result?

I am trying to connect a classic System Dynamics tool (Vensim DSS) with Mathematica using a DLL that is included in Vensim DSS. Reading though the instructions on how to define DLL functions on how to ...
5
votes
2answers
170 views

Reading non-tabular data with NaN-s from file

A NaN stands for an entry that is not a number/undefined/missing/infinite/etc. On my machine the C code printf("%f", 0/0.) produces ...
1
vote
0answers
47 views

calling mathematica code in Python [duplicate]

I am wondering if there is any working example of calling mathematica 9 outputs in python? or plotting mathematica output in python?
6
votes
2answers
334 views

Using Read for calling external command does not release file handle

The standard and robust method for piping to/from external commands under Windows is to create a temporary file, save the input into it, pipe it to the command and save its output to a second file. ...
0
votes
0answers
106 views

calling a batch or executable application on Windows

How to run a batch file, send commands and collects output on windows Run["!C:\\runme.bat"] it outputs 1 and a window appears and then disappears. I also want ...
4
votes
1answer
224 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 ...
12
votes
4answers
519 views

How do you get a list of filenames from a URL?

How would I get a list of filenames available at a URL? For example, list the files at: http://www1.ncdc.noaa.gov/pub/data/cmb/drought/weekly-palmers/2005/
2
votes
1answer
441 views

How do I resolve the “Specified file is not a MathLink executable” in SerialIO package?

I've read and tried the previous StackExchange suggestions here about installing the SerialIO package (including placing SerialIO in the same folder as init.m and and editing the init.m file per ...
12
votes
3answers
1k views

How can I transfer mathematical expressions between Mathematica and Maple?

Is there a simple way to copy mathematical expressions between Mathematica and Maple (or at least in one direction)? I mean only expressions built from numbers and predefined mathematical functions, ...
5
votes
1answer
200 views

How can I use Dynamic to run a script when a new file is added to a directory?

I have an external program saving files to some directory on my hard disc. I'd like to run a script that imports and runs a script on each file as it is added to the directory. Is there a simple way ...
0
votes
1answer
193 views

Making a C++ callable .lib or .dll file from a Mathematica notebook [duplicate]

MATLAB supports conversions of their function files into C++ callable libraries. I was wondering if the same feature is also available in Mathemathica? If yes, can you please guide me where I can ...
13
votes
1answer
342 views

Randomness test suites that can be invoked from Mathematica

There are several test suites referenced at csrc.nist.gov designed to test a (pseudo-)random byte sequence for randomness, and discover possible skews, correlations, patterns, or other hidden ...
2
votes
0answers
187 views

Interfacing with a LabJack

I have a LabJack U3-HV and I wanted to use it with Mathematica to interface some hardware. I cannot find any information on the Internet; if I have to use Python, I will, but I would rather use ...
11
votes
1answer
501 views

RLink and R v3.0.1?

Running InstallR["RHomeLocation" -> "C:\\Program Files\\R\\R-3.0.1"] results in a popup box titled "Version Mismatch" saying Error: R.DLL version does ...
4
votes
1answer
214 views

String encoding issue with Pythonika

I use Mathematica and Pythonika to run Python code inside it. And I'm not quite sure what causes my issue: all unicode Python objects look like this: ...
3
votes
0answers
128 views

Eureqa Client to connect to Mathematica under Windows

Does there exist a way to use Eureqa software with Mathematica under Windows? That is, is there a working client to connect to a Eureqa server?
1
vote
1answer
174 views

How to send a function definition to MathLink from C/C++?

In this tutorial some MathLink concepts are introduced. At page 33 in the last lines the author is talking about sending to MathLink a function definition like ...
4
votes
2answers
419 views

Cannot call custom function loaded from script using C/C++ MathLink

I am using MathLink with C/C++ on a Unix system in order to call a Mathematica (version 9) function and get the result. The function I need to call is a personal function of mine ...
2
votes
1answer
152 views

Cannot run Mathematica C-interfacing examples 'factor'

I am trying to run a Mathematica example concerning Mathematica interfacing issues with C programs. In particular I am trying to call a Mathematica function from C. Example ...
11
votes
1answer
2k views

Write C/C++ programs calling Mathematica functions

I need to write a C/C++ program and call some functions in Mathematica especially those like Solve or NDSolve. The problem is ...
11
votes
1answer
691 views

Mathematica Functions from VBA

I'm trying to call Mathematica functions from VBA (Excel) using .NETLink without success. (Yes, I know Mathematica Link for Excel exists. And yes, I know the proper thing to do is buy it. However, ...
6
votes
1answer
634 views

Problem with SerialIO package and Lego NXT

I'm following a guide from The Mathematica Journal that describes how to use Mathematica with the Lego Mindstorms NXT but have some trouble getting started and got stuck with the SerialIO package. I ...
24
votes
1answer
929 views

Can anyone explain how to use Mathematica's OAuth package?

I noticed that in HTTPClient.m which is included with Mathematica 9 and is located in ...