Skip to main content

Questions tagged [external-calls]

Questions on calling external executables, not necessarily through MathLink.

Filter by
Sorted by
Tagged with
4 votes
1 answer
264 views

I have both Maple and Mathematica installed on same PC (Linux). I would like to call Mathematica command from inside my Maple worksheet (say Integrate, but it could be any other command) and get back ...
Nasser's user avatar
  • 156k
10 votes
1 answer
378 views

I am working on a Mathematica package for knot theory that combines functionality of several other packages. Two notable examples are SnapPy and Regina. Fortunately, both have a rich Python interface ...
Henrik Schumacher's user avatar
2 votes
0 answers
71 views

I have a notebook with a workflow that I use to update several servers. I have used it many times and I know it works. Until today. For some reason the ...
Gustavo Delfino's user avatar
7 votes
1 answer
309 views

How to use FORM together with Mathematica? What configuration steps should I do? Any guide is appreciated.
Ahamad's user avatar
  • 1
0 votes
0 answers
87 views

I am trying to register an external installation of Python 3.13 to be usable through ExternalEvaluate in Mathematica v14. After running FindExternalEvaluators["Python"], I can see the ...
user107868's user avatar
0 votes
0 answers
117 views

Executing the below example from the Mathematica Documentation from the URL Documentation ConvexHullMesh let me observe under RHEL 9.4 (Lustre 2.14.0_ddn154) for Mathematica Version 14.2 the ...
Holger I. Meinhardt's user avatar
5 votes
1 answer
197 views

I have an ExternalEvaluate ("Shell") that does not return/keeps running. I want to ssh into a server, parse a logfile there and get the resulting values ...
boddeke's user avatar
  • 111
5 votes
1 answer
115 views

UNIX/Linux commands are highly optimized so it is often useful to call them from within Wolfram/Mathematica. Under Windows, a well supported way of running Linux commands is the Windows Subsystem for ...
Gustavo Delfino's user avatar
3 votes
1 answer
176 views

Consider this minimal-example code: ...
Anton's user avatar
  • 2,072
2 votes
0 answers
46 views

session = StartExternalSession["Python"] starts a python session on the local machine. ...
StackExchanger's user avatar
1 vote
0 answers
84 views

I have a External language session of "SQL-JDBC" created and connected to the External language cell: ...
user13892's user avatar
  • 10.4k
3 votes
1 answer
172 views

I'm trying to simulate with python and Mathematica, Python need to generate and save some pictures to the directory of current mma notebook, I know the function that ...
Yao Li's user avatar
  • 111
1 vote
1 answer
80 views

Iterators are a common pattern in python. A trivial example is: example = iter(("apple", "banana", "cherry")) next(example) (yes, of ...
Joshua Schrier's user avatar
2 votes
0 answers
62 views

I create a C-library and compile it using the tools in LibraryLink. When I create a code binary like this ...
Kirill Belov's user avatar
0 votes
0 answers
65 views

I am doing some work and the last part of it needs to be done in python. All I need is to transfer a list of numeric higher rank tensors that I generated in the mathematica notebook to python. I am ...
Felipe's user avatar
  • 729
1 vote
0 answers
115 views

My question is how to connect Wolfram Mathematica with Unity. Following the post https://stackoverflow.com/questions/60574542/cant-open-unity-link-in-wolfram-mathematica, I get an error when i try to ...
Sergey Scorin's user avatar
0 votes
1 answer
90 views

We can see all registered Python environments through FindExternalEvaluators["Python"]. But the user interface will use the last registered one. How to ...
Alexey Golyshev's user avatar
1 vote
1 answer
150 views

Question While working with Python's ExternalEvaluate the intermediate calculation results with Python are stored in the notebook. (...
Anton Antonov's user avatar
2 votes
1 answer
137 views

Many internal calls boil down to invocations like LibraryFunction["path/to/library", "funcName" , ...] I'm on a mac, so I can use the ...
Adam's user avatar
  • 4,293
1 vote
0 answers
71 views

Can you confirm this bug when evaluating Python code in Mathmatica? Type > select Python by clicking on the icon on the left then paste the following code and ...
azerbajdzan's user avatar
  • 32.8k
1 vote
0 answers
80 views

By default when I start an ExternalLanguage cell for Shell it starts powershell.exe. Even ...
user13892's user avatar
  • 10.4k
0 votes
0 answers
137 views

I am trying to batch process a large number of files on Windows 10 generated by Mathematica using the Run command. Specifically, I am using Mathematica to create ...
GregH's user avatar
  • 2,029
1 vote
1 answer
95 views

I am running an external python session in Mathematica via ExternalEvaluate. It sends commands to the Bloomberg API in command prompt on Microsoft Windows. I start ...
apg's user avatar
  • 2,303
8 votes
3 answers
1k views

I would like to pass Mathematica variable values to Python. But I found that it was not that trivial. For example, a typical way would be: ...
Satoshi Oota's user avatar
0 votes
0 answers
118 views

I have a Java program that connects to a Mathematica Kernel, installed on my computer. I am able to call the APIs and receive the expression results, like to the code below. But is there any cloud ...
Azzurro94's user avatar
  • 499
4 votes
1 answer
523 views

I'm trying to execute a .ipynb from Mathematica. I tried this code ...
Daniel Berkowitz's user avatar
1 vote
0 answers
116 views

Let's consider the following functions (in $Version: 12.3.0 for Linux x86 (64-bit) (May 10, 2021)) ...
csk 7's user avatar
  • 413
4 votes
1 answer
163 views

ExternalEvaluate likes to print whatever hits stdout or stderr in the course of evaluation. For example, ...
thorimur's user avatar
  • 9,210
1 vote
0 answers
214 views

I want to use specific python libraries via the Mathematica frontend. This is possible as follows ...
Asim's user avatar
  • 1,150
3 votes
1 answer
252 views

I am setting up NodeJS for use as an external evaluator in Mathematica 13.1 and am getting a message about missing dependencies. I am following the steps in the Workflow documented at ...
Doug Kimzey's user avatar
  • 2,299
1 vote
0 answers
89 views

You can type > at the beginning of a cell (or right click and choose "insert new cell" - "ExternalLanguage") and then you can choose the ...
azerbajdzan's user avatar
  • 32.8k
7 votes
2 answers
771 views

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
93 views

How to call Mathematica functions from my Node js project? Is there any way I can do it like we do in .NET by making mathematica kernel?
Irtiza Hassan's user avatar
4 votes
1 answer
136 views

Of course, I can use the this code: session = StartExternalSession["Python"]; mmaVar1 = ExternalEvaluate[session, "a=[3,6,4];a"] {3, 6, 4} ...
yode's user avatar
  • 27.8k
5 votes
1 answer
292 views

This question is the same as this post which was closed too early to be answered and efforts to reopen it were unsuccessful. How could we use a defined function inside Mathematica from Matlab? With ...
Ben Izd's user avatar
  • 9,669
3 votes
1 answer
123 views

I can convert mysource.jpg to myresult.jpg using an external program myprog.exe, and set a ...
imida k's user avatar
  • 4,435
2 votes
0 answers
257 views

Is it possible to call a defined function inside Mathematica like InterpolationFunction[...] from Matlab? Thanks!
Ulrich Neumann's user avatar
1 vote
0 answers
481 views

I'm trying to connect the front end on Mac OS (version 13.0) use a remote (also 13.0) kernel running on an Ubuntu machine. I've followed the basic steps here (https://reference.wolfram.com/language/...
user2757771's user avatar
0 votes
0 answers
134 views

In the above screenshot, I've shared the installed and registered version of python. However, when I try to use it, it ends up with an error. ...
user444's user avatar
  • 2,836
4 votes
1 answer
173 views

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
1 vote
0 answers
930 views

I'd like to know how to wrap up a function in a file an then how to call it in another file. For example, I've the following long piece of code which is used to create the function PlotExplorer. I ...
Gennaro Arguzzi's user avatar
7 votes
2 answers
527 views

I am attempting to use ExternalEvaluate to use some python packages (ARC) to save me some effort in performing the calculations in Mathematica, and for the most part I think it works as intended. The ...
D. Brown's user avatar
  • 324
7 votes
1 answer
196 views

I am running an externally compiled C++ program using RunProcess, and I encountered a strange thing: when I run the RunProcess ...
Ondrej Draganov's user avatar
1 vote
1 answer
182 views

I am displaying a progress bar in my notebook like this: ...
Adalbert Hanßen's user avatar
0 votes
0 answers
123 views

I have locally installed and run the latest version of Oracle MySQL Community Server 8.0 on port 3306. I successfully established connections to it from locally installed Oracle MySQL Workbench 8.0 ...
Alexey Popkov's user avatar
5 votes
1 answer
249 views

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
0 votes
0 answers
79 views

Kernel executables seem to be relatively small wrappers around "dynamic link library" that contains all the functionality of the kernel. Is it possible to load the kernel (as a dynamic link ...
Pavel Perikov's user avatar
2 votes
1 answer
191 views

I have the following 'test.py' written in Python: import numpy as np f = open('normals.txt', 'r') content = f.read() print(content) and I want to execute it from ...
tupoliedro's user avatar
4 votes
2 answers
665 views

This issue was already discussed here, but the answer is unclear yet. I use very simple Python function for converting a string list to upper case ...
Konstantin's user avatar
4 votes
0 answers
121 views

I need to run my DimensionReducerFunction in a standalone fashion outside of MMA. That is, without calling into a kernel or through an APIFunction. For example, ...
M.R.'s user avatar
  • 31.9k

1
2 3 4 5