All Questions
Tagged with interop or interoperability
244 questions
4
votes
0
answers
501
views
Call Haskell from Mathematica and return the results inside Mathematica
I would like to learn Haskell using Mathematica's environment.
I know there is the RLink protocol. Is there a similar protocol for Haskell?
0
votes
0
answers
50
views
Does a client need Mathematica kernel to run Mathematica code embedded in Java?
I have built a predictive model using Classify. Its performance is great. Now I want to put it into production, and run it on the client side, where the client may ...
16
votes
2
answers
383
views
What is the best way to transfer arbitrary-precision reals using WSTP?
I'm developing a Mathematica package, inside of which there is a number-crunching function. It uses a list of arbitrary-precision numbers as input and it takes a lot of time to do its job.
So I've ...
4
votes
1
answer
116
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 ...
2
votes
1
answer
1k
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 ...
4
votes
2
answers
3k
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 ...
10
votes
0
answers
356
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 ...
11
votes
0
answers
1k
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 ...
7
votes
1
answer
4k
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 ...
2
votes
0
answers
263
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
0
answers
191
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 ...
7
votes
3
answers
1k
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 ...
1
vote
0
answers
164
views
Problem with FindDevices["Camera"] [closed]
I have a problem with FindDevices["Camera"] function. When I try to execute it I get this:
...
4
votes
0
answers
499
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 ...
1
vote
0
answers
506
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
0
answers
142
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 ...
10
votes
1
answer
330
views
Link ITK with Mathematica
I would like to know if someone has tried to link Mathematica with ITK code (call ITK code in Mathematica)?
4
votes
1
answer
257
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 ...
9
votes
1
answer
397
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 ...
1
vote
1
answer
801
views
Running external program from command line
This command works on Windows:
ReadList["!" <> "echo hello", String]
Assuming the "!" suggests Windows command shell (verified as ...
9
votes
1
answer
586
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
...
25
votes
3
answers
2k
views
Clipboard with transparency
After reading this question I have determined that
Rasterize[Graphics[Circle[]], "Image", Background -> None]
allows you to do ...
1
vote
1
answer
266
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
2
answers
370
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 ...
1
vote
0
answers
157
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 ...
3
votes
0
answers
184
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 ...
7
votes
2
answers
793
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
0
answers
273
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.
3
votes
1
answer
293
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 ...
7
votes
1
answer
495
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 ...
2
votes
0
answers
101
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 ...
3
votes
2
answers
768
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
0
answers
169
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 ...
7
votes
1
answer
529
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 ...
6
votes
1
answer
386
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
1
answer
248
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
1
answer
1k
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.
13
votes
1
answer
835
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 not ...
3
votes
1
answer
183
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
1
answer
646
views
Mathematica File Organization
Last year I asked how to integrate notebooks to the documentation center in stackoverflow. Back then I was only interested in seeing those notebook and being able to search for them. Unfortunately, it ...
15
votes
1
answer
1k
views
Is it possible to use C# LINQ from Mathematica using .NET/Link?
Using Mathematica's .NET/Link (NETLink`) package, is it possible to call out to .NET's LINQ facilities for list manipulation and other operations?
10
votes
1
answer
536
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
0
answers
230
views
Can Apple's Numbers spreadsheet link to a Mathematica function? [closed]
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 ...
1
vote
0
answers
186
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
1
answer
225
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
0
answers
201
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 ...
26
votes
3
answers
2k
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 ...
-1
votes
1
answer
556
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 ...
2
votes
1
answer
546
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
1
answer
1k
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
...