Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [interoperability]

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

1
vote
0answers
57 views

OpenMATLAB[] hangs

I just migrated my Mac from one machine to a new one and it seems like MATLink is broken now. When I call OpenMATLAB[] in Mathematica the command hangs forever. I ...
4
votes
2answers
83 views

Using local variables in ExternalEvaluate Python

I am sure that I am missing something here, I have some larger matrices and Mathematica takes too long to compute the eigenvalues and vectors (using Eigensystem[m]) ...
10
votes
1answer
88 views

SystemOpen from ScheduledTask

I could bet it used to work, now the following code fails 95% of times: RunScheduledTask[Echo @ SystemOpen @ "https://www.wolfram.com", {1}] Can you reproduce ...
7
votes
1answer
96 views

WXF encoder library for C++

WXF is a fully documented binary encoding for Wolfram Language expressions. WRI has already published a Python encoder/decoder for this format. ExternalEvaluate ...
11
votes
1answer
173 views

Using ImageJ filters directly from Mathematica through J/Link

tl;dr I am looking for a short but complete example that shows how to apply an ImageJ filter to a Mathematica Image through J/Link. Fiji/ImageJ is one of the ...
7
votes
1answer
82 views

Strategies for creating links to external systems

Often I find myself creating links to external systems, be it a converter from Mathematica to python, a link to Git/GitHub or to an electronic structure package. And I am far from the only one. I've ...
5
votes
0answers
135 views

connect to Python kernel started by Jupyter

As Mathematica has the interoperability with Python since ver. 11.2, is it possible to connect the Python kernels started by Jupyter from Mathematica? Can someone provide a pathway for doing that? ...
9
votes
1answer
230 views

Corresponding built-in types for Python

Where can I find the correspondence of built-in types between Mathematica and Python?
4
votes
0answers
91 views

Wrapper for mathematica code with GUI

I have a code written in Mathematica. What I am trying to do is to write a wrapper (say using Python) that will take user input for the Mathematica code, run the code, and create output. I do not ...
7
votes
1answer
134 views

What's wrong with EmbeddedHTML now?

Bug introduced in $CloudVersion V1.38 or earlier and fixed in V1.46 [...] I checked and reproduced your issue, and have passed along a report to our developers on the same [...] [CASE:3973757] ...
3
votes
2answers
157 views

Running external program

I am trying to run gnuplot and send it some plotting commands from Mathematica. Unfortunately without any luck. For me the documentation is completely useless as it gives little to no practical ...
3
votes
0answers
57 views

How to know the real-time memory consumption value of a specified process

I'm on Windows 10, when I run my c++ program, the task manager will show the real-time memory consumption value of the .exe process. I want to plot a conditional ...
3
votes
0answers
107 views

`ExternalEvaluate` for NumPy: passing numpy arrays

As ExternalEvaluate for python has been introduced recently in V11.2, what is the best practice for passing data between Mathematica and NumPy? As by default, the ...
1
vote
0answers
58 views

possibility of using `f2py` for interoperability with Fortran

Although interoperability with Fortran could be realised by using LibraryLink (e.g., Linking FORTRAN with Librarylink), the approach is not so straight forward, in ...
0
votes
0answers
87 views

Run Mathematica notebook using VBA

I want to run mathematica notebook using excel vba, can someone help me with a sample code?
1
vote
1answer
167 views

Mathematica function into R

I am R user and very new to mathematica. I want to make run a .wl file into R script and using its results into the same R script. Is there any possible way to load and run .wl file into R? Your help ...
3
votes
0answers
76 views

Mathematica with Portable R

I have on my Company Laptop no administrator privileges (Windows 7, 64 Bit). After installation of R-portable and registering to HKEY_CURRENT_USER, I still cannot call R from Mathematica: The first ...
2
votes
1answer
134 views

Open a new browser window in WebUnit Package

I'm currently trying to open, manipulate, and close a "new" browser window(by "new" I mean there's already a existing browser window) in a single google chrome session in WebUnit` Package, ...
0
votes
3answers
241 views

Transform a table in Mathematica into one in MS Word

How does one transform a table in Mathematica into one in MS Word?
5
votes
1answer
129 views

Print only when webpage updates

I'm currently developing a small auto-reply bot using Mathematica, and a key barrier is to send a reply whenever the webpage updates, in other words, new messages come in. I cannot think of any ...
12
votes
2answers
379 views

Simple example of NetGraph running in MXNet?

There is an great example of exporting a NetGraph (that was trained in Mathematica) into the MXNet's format. However, I think there's a bug or something is wrong with the answer, because once ...
27
votes
2answers
2k views

Exchanging numpy arrays between Python and Mathematica?

I've been using np.savetxt(location, result, delimiter=',') in Python followed by Import[location,"CSV"] in Mathematica. Some of ...
7
votes
1answer
217 views

Syntax Highlighting for WL files in Atom/Sublime?

What packages do people use for syntax highlighting in Atom, Sublime Text 3, etc?
9
votes
0answers
241 views

Can one create a custom front-end for Mathematica?

I'd like to create my custom front-end for Mathematica. I know there's a console interface (launched as math), which mostly works great, but it can't really provide ...
1
vote
1answer
57 views

Using MATLink with an interactive MATLAB session on MacOS [duplicate]

I just discovered MATLink and it's awesome. The only problem I have is that using OpenMATLAB[] opens a MATLAB session in the ...
4
votes
0answers
79 views

Is there a DatabaseLink for Hive?

I have a Hadoop based data warehouse with which and I typically use the command line or Hue to perform Hive queries. I was hoping there is a built-in library or third party connector for doing this ...
5
votes
1answer
141 views

How to specify the browser used by SystemOpen?

For the purposes of lecturing I use the statement as the one below: ...
4
votes
2answers
258 views

Using a Mathematica function in Excel

I'm trying to use the FinancialDerivative function in Excel and can't seem to get the formula to work, even without using cell references for the inputs. In a ...
1
vote
0answers
48 views

Instant detection of digital or analogue variation of a variable with Mathematica in Windows 8.1

I am using an assembly that contains two acquisition board (PCI-1742U-AE and PCIE-1816H-AE) and an external circuit, connected to boards. The computer uses Windows 8.1, and the communication is done ...
1
vote
0answers
600 views

Load function returning array or string from DLL created in Delphi

I'm trying to call a function from a 32-bit DLL created in Delphi. My (simplified) function is defined in Delphi like so: ...
10
votes
1answer
484 views

Call a Haskell DLL from Mathematica

Looking for a way to call a Haskell DLL from Mathematica, I've stumbled on this, for GNU R: http://neilmitchell.blogspot.com.br/2011/10/calling-haskell-from-r.html It is (to me) a beautiful example ...
1
vote
0answers
131 views

Call NAG subroutine in Mathematica 10

Is there any package or any other way to call or use NAG library? It was possible in old mathematica?
1
vote
0answers
662 views

Mathematica on Chromebook? [closed]

I'm thinking of getting a touchscreen Chromebook, is there any way to run or install desktop Mathematica on it?
4
votes
2answers
149 views

ExcelLink: How to change cell properties like font family, size and borders?

I just purchased the Mathematica Link for Excel. I can't figure out how to change the cell properties in excel using ExcelLink package? Can someone please help.
5
votes
0answers
330 views

Exporting *formatted* Excel workbooks

I export Mathematica tables to Excel every day, for sharing reports with non-Mathematica users. It exports the values without flaw, but ignores any formatting. Consider the following: ...
1
vote
2answers
126 views

Printing an array such that the values can be copied and pasted to a Excel Row

Given an array I would like to print it in Mathematica such that the values can be simply copied and pasted into an Excel's row. What is the best approach for this? ...
6
votes
2answers
285 views

Linux’s Bash shell in Windows 10 and mathematica

As we know, Linux’s Bash shell is coming to Windows 10. Now, I want to know, how to using Run[] command or other commands to run some commands like gfortran installed in Linux of Win10 ? And, is it ...
6
votes
1answer
332 views

What is the correct path to add a camera driver?

I have a long time difficulty getting Mathematica desktop ImageCapture[] to work with frame grabber devices. I am using a Pinnacle 510 and 710. The function is ...
2
votes
0answers
101 views

SymbolicC/SymbolicCUDAFunction generating C/C++ parser?

I wish to do some program transformation and analysis. Is there any package that generates SymbolicC expressions from C code? In a sense I'm looking for the ...
6
votes
1answer
145 views

How to use FileTemplate instead of Splice that has been superseded?

Having invoked Splice[main.mtex], ...
2
votes
1answer
95 views

Move underlined text from Word to Mathematica

I've have a Word document that I'd like to import to Mathematica. I could just copy and paste, but when I do, I lose the underlined text. Is there a way to get MS Word text into Mathematica while ...
2
votes
1answer
238 views

I have a communications link failure with JDBC MySQL(Connector/J)

I am unable to connect to my local mysql server using Mathematica. ...
5
votes
0answers
43 views

The second escaped path breaks command execution

Due to a terrible chain of events I had to reinstall part of my software. Git among it, but a newer version. Something changed because earlier all four evaluations were giving me a version info: <...
7
votes
2answers
318 views

Web Browsing Automation: how to expand all comments under a blog post?

I wish to expand all the comments under a LiveJournal post for the purposes of saving the complete thread of comments. According to LiveJournal's FAQ when a post gets more than 50 comments they are ...
10
votes
2answers
316 views

How to copy formatted numbers as MathML without quotation marks?

I have the following code: a = 6.08717*10^6; b = a/3; c = a*1.5; d = a^2; matrix={{a, b, c, d},{b, c, d, a},{c, d, a, b},{d, a, b, c}}; matrix // EngineeringForm ...
5
votes
1answer
347 views

How can I get osx split screen to work

OSX on Mac now allows two apps to split the screen. https://support.apple.com/en-us/HT204948 Doesn't seem to work in Mathematica, even though the full-screen button displays an icon suggesting that it ...
8
votes
1answer
528 views

Reading data from Google Docs

I am working on a personal project involving a CloudDeploy[ ] that reads data off a Google Doc and then works with it. Ideally, the Google Doc is either a text document or a spreadsheet which contains ...
1
vote
0answers
31 views

DO Button: convert databin entry from String to Reals

I am learning to use the Wolfram databins and DO Button and DO Note apps for a personal project. The sample code I am using as the Recipe is: ...
0
votes
0answers
123 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 ...