Questions tagged [interoperability]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
55 views

Control metadata of CopyToClipboard

Question The system clipboard can contain image data and text data (and a plethora of other types). Mathematica copies different expressions as different types of data; copy ...
Adam's user avatar
  • 3,797
1 vote
1 answer
92 views

Is there any Mathematica API for Z3?

Z3 has bindings for various programming languages, e.g., C, C++, Java, Python, and so on. Are there any for Mathematica? Or how to implement one?
hengxin's user avatar
  • 840
3 votes
1 answer
64 views

What crops the response from the SocketListen based web server?

I noticed that when the response length passes around 1k characters then it is cut at weird lengths: 424, 936 or 1448 characters. Response is generated correctly but then it is cut so if the body was ...
Kuba's user avatar
  • 136k
1 vote
0 answers
69 views

Repeated calling of Mathematica function from R through system call make it extremely slow

I have the following simple function in test.wls file x = ToExpression[$ScriptCommandLine[[2]]] y = ToExpression[$ScriptCommandLine[[3]]] z = x+y Print[z] I call ...
Ahmed Abdullah's user avatar
1 vote
0 answers
89 views

SendMail Failure

I am trying to use Mathematica to send an email via my outlook account using the code below: ...
codebpr's user avatar
  • 899
7 votes
2 answers
535 views

Getting data into Julia session?

Mathematica has a way of integrating with Julia, and automatically convert Julia outputs into Mathematica objects (Julia seems to have nice support for low-rank approximation). What is the best way to ...
Yaroslav Bulatov's user avatar
1 vote
0 answers
283 views

Can OGDF (a self-contained C++ library for graph algorithms) be integrated into Mathematica?

I would like to begin by congratulating IGraphM on the release of its current update (M 0.6.1). This package makes graph calculations on Mathematica much smoother. The specifics are available at the ...
licheng's user avatar
  • 1,851
1 vote
0 answers
84 views

Copying Bitmaps in 13.1.0.0

I have just installed 13.1.0.0 and have been copying bitmaps (ListLinePlot) from notebooks (Edit->CopyAs->Bitmap) into various MS applications in Windows 10. ...
OpticsMan's user avatar
  • 560
6 votes
1 answer
259 views

Make Mathematica input things on a website and take the data out

So I found a website that calculates polynomials that I need it intakes a word of a's and b's say aabba and outputs a polynomial. Here is the website: http://www.math.stonybrook.edu/~moira/NewApps/...
2132123's user avatar
  • 647
0 votes
1 answer
203 views

How to copy Mathematica code into Microsoft Word?

Is there a way to copy my mathematica code (with preserved formatting) as text into microsoft word? Below is part of my code. ...
joe's user avatar
  • 191
0 votes
0 answers
57 views

Using and executing the missing complex functions of Mathematica in Wolfram script *.wls

I have the following Mathematica notebook on this link notebook I was told that the binary wolframscript couldn't understand some complex functions of Mathematica. First, I would you like to convert ...
youpilat13's user avatar
7 votes
0 answers
185 views

How To Install R Packages Via R Link In Windows

So it looks like I got RLink working on my Windows machine: ...
Daniel Berkowitz's user avatar
4 votes
1 answer
110 views

Change DataStructure (or maybe just a symbol) from JLink/Java program

I try to use JLink and Java program for receiving responses from the abstract WebSocket server. WSS not supported by Wolfram Language now, but I can use this java project + JLink for the creating a ...
Kirill Belov's user avatar
0 votes
1 answer
146 views

How to make the words in pictures from Mathematica into MS Word can be edited?

I find that when I export graphics to PDF format from Mathematica, the words in pictures can be copied. However, when I save the pictures from Mathematica and then insert those pictures into MS Word, ...
Y. zeng's user avatar
  • 425
5 votes
1 answer
129 views

Is it possible to run Linux utils from Mathematica using Windows Subsystem for Linux?

I have Windows 10 Professional x64 with WSL2 installed. I've also installed Ubuntu 20.04 LTS from Microsoft Store. I can type ubuntu2004 in the CMD and get access ...
Alexey Popkov's user avatar
10 votes
1 answer
517 views

Mathematica and Google Drive backup client

My Mathematica notebooks (as well as all other files I author in my research) are in a directory that is managed by the Google Drive client. This automatically backs up everything I create and I don't ...
Wynne's user avatar
  • 1,506
3 votes
3 answers
1k views

Read sympy expression in .txt file as Mathematica input

I have a Python file that has a variable defined using sympy. For instance, let us take the following (crazy) example that I could have eventually since I am automatizing a routine: ...
edgardeitor's user avatar
1 vote
1 answer
109 views

interact with web pages with many hyperlinks and search for a specific name or phrase How?

I have this code that shows many hyperlinks links = Import[ "http://www.liceobrainstorm.cl/wp-content/uploads/2020/07/", "Hyperlinks"] ...
BeTDa's user avatar
  • 480
5 votes
2 answers
162 views

Image format change when doing direct Cut/Paste

I usually produce graphics with Mathematica and then use Keynote (I am on a Mac running the latest Big Sur OS) for post processing. Until version 12.0.0.0 I would directly highlight the graphics in ...
Daniele Binosi's user avatar
4 votes
0 answers
86 views

Socket not ready but data is available

Background I am playing with https://github.com/arnoudbuzing/wolfram-server and I faced problems with requests that are slightly longer. I tried to narrow it down here. Problem This could be my ...
Kuba's user avatar
  • 136k
2 votes
1 answer
170 views

Calling Julia via `ExternalEvaluate`

I am trying to call Julia from Mathematica via ExternalEvaluate, as per this documentation page. I have Julia installed with all the required packages (...
Yly's user avatar
  • 265
2 votes
3 answers
917 views

How to use Mathematica from Python

I've been using the following lines of code to generate 3D geometry (ref). The inputs edges, vd, ...
Natasha's user avatar
  • 329
1 vote
0 answers
274 views

WolframKernel not found when running WolframScript

While attempting to run wolframscript in linux, I get the error "WolframKernel not found. Use -configure to set WOLFRAMSCRIPT_KERNELPATH Or export WolframKernel=/yourpath/WolframKernel" I am ...
BOUNCE's user avatar
  • 559
2 votes
1 answer
255 views

Reading information from a Portable Executable (.exe)

I want to extract information from executable files, such as the names and sizes of sections, symbols, etc. The Wikipedia article has a diagram showing the layout of a PE. See also this diagram It ...
flinty's user avatar
  • 23.1k
4 votes
1 answer
308 views

Python module error using Externalsession

What I am trying to do is to generate an array using Python inside Mathematica but I getting TypeError required field:type_ignores missing Module. Here is the image:...
Las Des's user avatar
  • 807
5 votes
2 answers
211 views

Using WSTP with LibraryLink

I'm building an interface for a Fortran library. I would like to use LibraryLink and Mathematica to do the compilation (via CreateLibrary), Visual Studio is ...
Batox's user avatar
  • 153
1 vote
1 answer
153 views

LibraryFunctionLoad with Cool Prop documentation

I use the following command ...
Cezary's user avatar
  • 11
8 votes
1 answer
572 views

Reusing PARDISO symbolic factorization

Is there a way to do this natively in Mathematica? I read in several places that this is possible with LibraryLink, but I don't have a lot of experience with C and so I'm having trouble implementing ...
beets's user avatar
  • 83
14 votes
2 answers
4k views

How do you run Wolfram Language code in VSCode?

I have recently gotten into learning the Wolfram Language with Mathematica, I honestly love Mathematica, but my trial has recently ended, and I do not want to go through the mess of installing Eclipse;...
Greenrock12's user avatar
15 votes
1 answer
683 views

Call julia from Mathematica?

How might one go about calling julia from Mathematica? And vice versa? I'm aware of the MathLink.jl package (https://github.com/JuliaInterop/MathLink.jl), which I've installed into julia 1.3.1. I ...
murray's user avatar
  • 11.7k
1 vote
0 answers
98 views

How to call the function calculation result of Magma in MMA

Magma is a very useful abstract algebra calculation software.How to call the function calculation result of magma in MMA? ...
A little mouse on the pampas's user avatar
6 votes
0 answers
148 views

MWE for compiling functions into standalone DLL and calling them in Python?

I have read calling-a-compiledfunction-dll-from-outside-mathematica and the CodeGeneration tutorial and scanned other related questions too numerous to mention, but I am still unclear about how to ...
Julian Moore's user avatar
  • 2,560
2 votes
0 answers
188 views

Citing with EndNote X9

I am trying to cite my work with EndNote X9 by using the Insert -> Citation -> Bibliographical Reference menu item, but the citation panel is empty. Before you ask, first I opened EndNote and then ...
user49047's user avatar
  • 771
1 vote
1 answer
150 views

ExcelLink stop working after Windows 10 update

After Windows Update KB4508433 & KB4512508, ExcelLink stop to work. If I uninstall these updates, it work again, but windows return to install them... ...
crazzymath's user avatar
2 votes
1 answer
223 views

How to change the terminal size programmatically that is opened by `RunProcess`?

Why isn't the following linux command working from the RunProcess interface? I want to change the terminal size programmatically and then display the information: <...
user13892's user avatar
  • 9,013
3 votes
1 answer
319 views

RunProcess fails when a directory path contains a space

In my "Documents" folder I've created two directories with names "тест" and "тест 2". When I try to use RunProcess for obtaining directory listing for the first ...
Alexey Popkov's user avatar
1 vote
0 answers
296 views

Can I use the Gwnum library to accelerate the multiplication in Mathematica?

Is it possible to use Gwnum library to accelerate the multiplication in Mathematica?
Reda.Kebbaj's user avatar
0 votes
1 answer
514 views

How to make an executable?

I made a program in mathematica and I want to know if Mathematica permits to generate an executable code (*.exe) for running it on a machine where Mathematica is not installed. This is my program: <...
user41178's user avatar
3 votes
1 answer
820 views

How to get Python WolframClient library to connect with WolframKernel on Linux?

My question is similar to the one posted here: WolframEngine install + wolframclient for Python on Ubuntu. However, this solution is not fixing my problem. I cannot get the wolframclient library to ...
aadharna's user avatar
6 votes
0 answers
97 views

WXF encoder library for C++ (asking on may 2019) [duplicate]

Is there any updates regarding plans to open-source C library to support WXF? My question is related to "WXF encoder library for C++". Strongly apologize for opening a new question regarding this ...
fmvin's user avatar
  • 261
26 votes
1 answer
1k views

How can I use the Python library networkx from Mathematica?

Is there an easy way to access the Python library networkx from Mathematica? The improvements to ExternalEvaluate in Mathematica 12.0 should make this feasible.
Szabolcs's user avatar
  • 232k
9 votes
1 answer
1k views

3D rigid body physics engine

Is there a package in Mathematica that will allow me to simulate collisions of 3d rigid bodies? If not, what known libraries could I use and how? For example, one problem I want to simulate is a ...
Ivan's user avatar
  • 2,157
3 votes
0 answers
253 views

How to get the executable out of a compiled function and run it in cmd

Can someone please guide how to run the function compiled by Wolfram Language in cmd independent of the kernel. It seems to export it into ...
user13892's user avatar
  • 9,013
2 votes
0 answers
56 views

How to write on a camera device

I am trying to use a USB camera which is made with a CMOS sensor, there are some parameters that can be set for the camera as gain and some others, the problem is talk with the sensor (APTINA MT9P031) ...
Heberley Tobón Maya's user avatar
6 votes
4 answers
1k views

How to copy a string to the clipboard from a script?

How to copy a string to the clipboard from a script? I want the wolfram script to copy a string to the clipboard. Unfortunately the following script fails to do this. The same code works perfectly in ...
conor's user avatar
  • 7,349
2 votes
0 answers
87 views

How to evaluate expressions in Mathematica from MATLAB?

I found a lot of information and examples on how to communicate from Mathematica to Matlab using MATLink, but nothing for the other way around. I would like to use Matlab to send variables and ...
Gerard Oosterwegel's user avatar
1 vote
1 answer
134 views

Using ExternalEvaluate within ParallelDo

I have had great success using Python in Mathematica (for some computations for which there are very well optimised Python packages but not for Mathematica). I have some Mathematica functions that are ...
wilsnunn's user avatar
  • 838
1 vote
0 answers
128 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 ...
MaxJ's user avatar
  • 1,535
6 votes
3 answers
687 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]) ...
wilsnunn's user avatar
  • 838
10 votes
1 answer
115 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 ...
Kuba's user avatar
  • 136k

1
2 3 4 5