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

learn more… | top users | synonyms (1)

3
votes
2answers
111 views

What is the best way to work with complex number array in librarylink function in terms of C++ and Eigen?

I want to use C++ Eigen library in Mathematica Librarylink function. Currently, I have no problem dealing with real arrays. But I don't know what is the best way to deal with complex array in ...
5
votes
0answers
119 views

Call Magma in Mathematica

I've written some code in Mathematica, related to some group theory questions I have. Subsequently, I found that part of the code could be significantly sped up if I could just call a routine in ...
3
votes
1answer
127 views

How to continuously run a Python script

I am running this script: script = Import["!python C:\\...python script", "String"]; but I need to run it a few times as it outputs data I need. I run it every ...
8
votes
0answers
134 views

How to bundle JLink with Java application using apache maven

The context: I am planning to visualize some results from my MMA code using D3.js. So I wanted to make a simple REST api using the light weight SparkJava framework. Given my fairly nonexistent ...
6
votes
1answer
179 views

What´s the best way to COPY/PASTE Mathematica code into Word?

As you can see in the image the code, with a standard copy/paste you obtain squares instead of "Return=New Line". What´s the best way to copy and paste Mathematica code into Word? One choice is a ...
1
vote
0answers
83 views

Example program WSTP Mathematica 10.3

I am writing a Fortran program and I want to use Mathematica functions form within. I know that a C wrapper should be written first, but I do not know how to proceed further. Basically I want to call ...
1
vote
0answers
38 views

Mathematica interoperability with Max/MSP

A little foreword: I'm an absolute beginner of Mathematica (but I'm a programmer in other languages/software). Now the question: I have a Mathematica Notebook written by a friend of mine which takes ...
4
votes
2answers
106 views

Why does Mathematica use a different $PATH than terminal?

I am trying to run bash commands from within Mathematica. Funnily enough, Mathematica seems to use a different $PATH environment than the system environment. If I try ...
1
vote
0answers
53 views

Problem with FindDevices[“Camera”] [closed]

I have a problem with FindDevices["Camera"] function. When I try to execute it I get this: ...
3
votes
0answers
93 views

Mathematica Arduino Link [closed]

Has anyone successfully used Arduino Link package to generate code and communicate with the Arduino with Mathematica? I have tried using it but I get "Failed to upload sketch" when I try to connect ...
8
votes
1answer
112 views

How to respond to password prompt with StartProcess?

Title says it all so let me show it on a Git example on Windows. Let's say you have your git executable on the system PATH: ...
1
vote
0answers
63 views

How to format convert simple Mathematica expressions into a Maxima-compatible format?

I am trying to compare really long algebraic results from Mathematica with those from Maxima. Maxima can parse the simplest types of expressions output by Mathematica, such as ...
1
vote
0answers
68 views

Using Mathematica to connect to Cloudera Impala

I am trying to connect to Cloudera Impala via Mathematica, but so far I have not been able to do so. Has anyone ever done it? I have been able to connect to it via R using the JDBC or ODBC interface ...
5
votes
2answers
159 views

How can I insert an EPS file exported from RegionPlot into MS Word?

I generate a figure using RegionPlot and then Export it as "EPS". When I insert this picture ...
3
votes
1answer
96 views

How to run Racket in Mathematica

My situation is that I write Racket/Scheme code to run some simulation. Then I'd like Mathematica to call Racket to run that code file. For example: the code file is named ...
7
votes
1answer
77 views

Launch Front End from .NET MathKernel and return result to .NET

Is it possible to launch a front end and open a notebook from a .NETLink kernel and return a result from the notebook to .NET? In the code below "x" appears in the .NET textbox after 10 seconds but ...
2
votes
0answers
149 views

Copy/Paste of a plot leaves whitespace

I'm trying to copy Mathematica figures into word, but when I do, I get tons of extra white-space for some reason. Either standard ctrl-c - ctrl-p or "copy graphic" does this. I understand that I ...
7
votes
0answers
147 views

Interfacing Red Pitaya board with Mathematica [closed]

I just discovered the Red Pitaya board and borrowed a unit to play during this weekend. Surprisingly I did not find any reference to Mathematica on the Red Pitaya forum, nor did I find any reference ...
1
vote
1answer
179 views

Printing problem in our campus lab

We have 12 iMacs in our computer lab at our college. Our students are having problems trying to print (to a black and white printer) their notebooks. Testing one students notebook (about 6 pages with ...
7
votes
1answer
244 views

Exporting 2D & 3D graphics for use in Adobe Illustrator

I have recently (perhaps since Mathematica Version 10?) encountered a change in how PDF images are saved and how they behave after being loaded into Adobe Illustrator (v16.0.4 under Mac OS X 10.10.5). ...
6
votes
0answers
72 views

How can I wrap a C++ object in WSTP?

I am trying to wrap a sophisticated C/C++ API in Mathematica using WSTP, but can't work out how to return a pointer to a C/C++ data structure. This object was created on the C/C++ side of the wrapper, ...
7
votes
2answers
103 views

Why doesn't Import work with XOWA offline Wikipedia database?

I'm having trouble with importing HTML from XOWA offline wikipedia database. I set up a local server for datamining, but I can't access it with Mathematica. I can request a HTML page with ...
6
votes
2answers
205 views

Mathematica-exported PDFs placed in Illustrator documents keep disappearing

This question is regarding interoperability between Adobe Illustrator and Mathematica. Illustrator has a File → Place... function which can insert complete figures inside Illustrator documents. ...
2
votes
0answers
85 views

Does Mathematica have a plug-in for communicating with an Android device?

I am trying to take input from an Android device, do some processing in Mathematica and pass the final output back to the device, so I need a plug in to communicate to an Android device.
2
votes
0answers
88 views

How to trigger Emacs to open a file from Mathematica? [duplicate]

I thought Run will do the trick: Run["emacs -q " <> myfile] Run["! emacs -q " <> myfile] But it does not! I'm ...
1
vote
1answer
178 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
1answer
144 views

ExcelLink: “Choose a Mathlink program to launch” after upgrading from 10.0.2 to 10.1

After upgrading to 10.1, I now get a prompt "Choose a Mathlink program to launch" when I call code that uses ExcelLink. This code worked prior to the update. I am wondering if this is a ...
1
vote
0answers
59 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
146 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
370 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
266 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 ...
1
vote
0answers
76 views

Retrieve rendered graphics via WSTP

I am planning on using Mathematica as calculation and rendering backend for an application, i.e., call Mathematica via WSTP and use EvaluatePacket to have it ...
5
votes
3answers
249 views

Running PowerShell commands in Mathematica

I'm trying to execute a PowerShell command using Mathematica. Someone has made it before? I tested my command direct in PowerShell, and it worked nice, but no idea on how can I make Mathematica to ...
3
votes
1answer
121 views

Handling error in WSTP program C/C++

I have a program, written in C++, which uses WSTP to communicate with Mathematica 10 (i.e., linked using Install["name_program"]). How should my code report an ...
0
votes
0answers
62 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 ...
3
votes
2answers
223 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 ...
5
votes
1answer
318 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?
3
votes
0answers
66 views

Importing sobj sage objects?

I am working with a sage-math object. With some older versions of Mathematica it was possible to send data directly but the function doesn't work with Mathematica 9. What are my options to import a ...
8
votes
1answer
120 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
304 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.
8
votes
1answer
136 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
117 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?
10
votes
3answers
563 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"] ...
13
votes
0answers
166 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 ...
11
votes
2answers
908 views

Transfer graphics from Mathematica to Word without loss of quality

I want some high-quality 2D graphics produced by Mathematica in my paper. My step-by-step operation as follows: First I make the plot, for example, ...
6
votes
1answer
233 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? ...
10
votes
1answer
348 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
169 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
82 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
116 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 ...