Questions tagged [scripting]
For questions about Wolfram Language Scripts (formerly known as Mathematica Script), or running the kernel without direct user interaction.
372 questions
4
votes
1
answer
135
views
What does the wolfram lint "SuspiciousSessionSymbol" issue mean, and what's the best way to resolve it?
I have a script that I run from a .wl file which I sometimes run from a notebook and sometimes call using wolframscript -file. I ...
3
votes
1
answer
56
views
Unexpected changes of $InputFileName after using SetDirectory
I have stumbled upon a very strange interaction of the system variable $InputFileName when using SetDirectory and ...
2
votes
0
answers
73
views
How would one edit an individual datum in a Tabular object in Mathematica?
In Excel, for example, or even in R, one can directly edit the cells in a tabular array.
With the new Tabular object in Mathematica, is that possible, or is one compelled to write out a script?
1
vote
0
answers
27
views
Multiple Mathematica Scripts through ssh connection
I am trying to run 8 Mathematica Scripts on a HPC that I access through ssh. I wrote this script:
...
3
votes
1
answer
133
views
Why is the execution of a wolfram script `.wl` is slower in linux than in a macos?
I have a wolfram script that does the following tasks in the following sequence:
import 2 csv data files
make bunch of plots
save 4 PDF files of plots
I have licensed ...
0
votes
0
answers
180
views
Best way to run Mathematica code from visual studio code?
Is there a way to run Mathematica code in Visual Studio Code that is similar to Python? For example, one can create a Python file called test.py in VS Code and run ...
0
votes
0
answers
80
views
Properties of conjugate transpose
I need to define the properties of conjugate transpose in mathematica:
Properties of Conjugate Transpose:
...
0
votes
1
answer
114
views
How to run Wolfram kernel from under Windows service to export charts
I want to generate multiple charts using Wolfram as a chart generator. To do so I generate an input file, e.g.. example.m:
...
0
votes
0
answers
72
views
3
votes
2
answers
133
views
7
votes
2
answers
136
views
Detecting and converting a number from a video (digital panel) into an actual number
Let's say I have video (mp4) of length 02:17:38 (hh:mm:ss), this video is a record of a temperature panel, as shown in the following image. How can I use mathematica to extract the temperature, given ...
0
votes
0
answers
61
views
Suppress preliminary output from wolframscript
$ /opt/homebrew/bin/wolframscript -code "AirTemperatureData[Here,Now] // First"
...
2
votes
0
answers
63
views
Evaluation break in WolframScript
Astonishingly, I couldn't find this either by googling or tag search here.
CTRL-C completely closes WolframScript (on my Windows 10). But I just want to break the evaluation (if it takes too long). ...
0
votes
1
answer
117
views
Splitting an audio into multiple segments based on the pauses
I am not an expert in mathematica, I wanted to Split an audio into multiple segments based on the pauses. I asked AI if that is possible, it said: "it is possible". It provided me a code for ...
1
vote
1
answer
169
views
2D momentum type equation for compressible fluids
I have this program which displays errors in the declaration of terms, I've tried to modify it several times but it displays the same errors, apparently in the declaration of the term $(v \cdot \nabla)...