Questions tagged [system]

Questions on implementation details and how the parts of Mathematica are arranged or configured to work. Avoid this tag for issues that are confined to a specific operating system.

44 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
25 votes
0 answers
1k views

How would I improve this Karaoke machine code?

I was looking at a large collection of Import/Export user suggestions the other day and it dawned on me that we finally have MIDI import in Mathematica 9, which is rather interesting since MIDI ...
Arnoud Buzing's user avatar
12 votes
0 answers
351 views

How can I disable system updates only?

Suppose I'm quite happy with my current Mathematica installation and wish to keep the system in its current form just reliably working. Since there were already at least two cases[1,2] when a lot of ...
Alexey Popkov's user avatar
8 votes
0 answers
130 views

Current $Context of a given notebook

nb = CreateDocument[{Dynamic@$Context}, CellContext -> Notebook] It will show Notebook$$22$93500` or something similar. How ...
Kuba's user avatar
  • 136k
8 votes
0 answers
1k views

How do I determine the Mathematica version without starting the Kernel?

For the Mathematica IntelliJ Plugin, I need to validate if a chosen directory is indeed a Mathematica installation and want to extract its version. The structure of the Mathematica installation is not ...
halirutan's user avatar
  • 112k
8 votes
0 answers
97 views

How to trace the stylesheet directives responsible for the selected text's appearance?

By way of example, in a typical Mathematica interactive session, one sees text content as shown below: Three different text styles can be seen in this figure: input, output, and the style for the <...
kjo's user avatar
  • 11.7k
7 votes
0 answers
121 views

How useful is $SynchronousEvaluation?

Example SessionSubmit @ Print @ $SynchronousEvaluation Will print False even though ref/SessionSubmit/Details last point: ...
Kuba's user avatar
  • 136k
7 votes
0 answers
117 views

Can Mathematica poll the dimensions of the individual monitors of its host computer?

The command SystemInformation["Devices", "ScreenInformation"] returns the screen area in the monitors connected to its host computer: ...
Emilio Pisanty's user avatar
6 votes
0 answers
139 views

Finish(Asynchronous)Dynamic[]

I have a question deriving from a recent topic Synchronizing Dynamics with EventActions. tl;dr; How to authoritatively explain the influence of ...
Kuba's user avatar
  • 136k
5 votes
0 answers
61 views

Why does Length[Names["System`*"]] give different values on Windows and Linux?

I was just curious about this. Length[Names["System`*"]] Gives slightly different value on Linux and Windows 10. I was wondering why that is as I have ...
Nasser's user avatar
  • 135k
4 votes
0 answers
207 views

Adding an attribute crashes the system?

At some point I noticed the following errors just in the documentation: And not only this one, this is not only for Manipulate, there were many others. Also the ...
Mher's user avatar
  • 667
4 votes
0 answers
80 views

Sudden changes in performance

Last week Mathematica was working fine. At the beginning of this week I went on a trip and it slowed down. I ran Needs["Benchmarking`"] BenchmarkReport[] The ...
Hugh's user avatar
  • 16k
3 votes
0 answers
92 views

System`Private`*Entry* and *Valid*, or: How does Mathematica know which expression is which?

Goal The answers to this question are intended to be a place to describe the behavior and mechanism of the undocumented functions of the form System`Private`*Entry* ...
thorimur's user avatar
  • 8,930
3 votes
0 answers
58 views

Definition of large expression - makes PC freezed

In[1] A=Range[10^4];?A Out[1] (* definition of A*) It works for 10^4. But if I increase the number to 10^6 ...
imida k's user avatar
  • 4,037
3 votes
0 answers
868 views

How to plot the phase portrait for $4\times 4$ ODE system?

I wrote below the instructions in Mathematica because I wanted to see the phase portrait of systems of DE of $4\times 4$ dimension. But Mathematica cannot recognize the last 2 variables $y$ and $z$ ...
user441848's user avatar
3 votes
0 answers
262 views

Shared variables between notebooks using the same kernel not working in mathematica 10.1?

I am trying to access the variables over two Mathematica documents, this works fine when I use Mathematica 9 but when I attempt to do the same on 10.1 it doesn't work. I have set both notebooks to ...
Kevan's user avatar
  • 31
3 votes
0 answers
91 views

Where can I find detailed information about the SystemOptions?

I'm looking to optimize my Mathematica script, and I'm willing to go spelunking with low-level system options. The problem is that I've been looking in the Mathematica documentation, but there doesn'...
jvriesem's user avatar
  • 417
2 votes
0 answers
76 views

Solving a system of four non-linear differential equation

Could someone help me with my problem? I've been scratching my head over this for a day now. I can't write the right code to solve this non-linear differential equation system: ...
TEMS's user avatar
  • 21
2 votes
0 answers
96 views

Read Mac Touch ID In Mathematica

Apple seems to provide some support for developers to authenticate users biometrically with the touch id sensor in the form of a swift API (see here). I'm wondering if there is an easy way to do this ...
user2757771's user avatar
2 votes
0 answers
100 views

Read newer version of Mathematica file

I am not sure if this question is silly, but I have the Mathematica version 12.1 and my friend has the Mathematica version 12.0 and he cannot read my files. How can I save the files in the version 12....
John's user avatar
  • 1,581
2 votes
0 answers
53 views

When making a package, how can I make a function that is already used by system?

Obviously, Plus[a,b] is given by Mathematica but say I have a package and I want to name a function Plus[a,b]. How can I go ...
Brandon's user avatar
  • 101
2 votes
0 answers
57 views

Can Mathematica be set to remind user to save after a set number of unsaved edits have occurred or after a set amount of time has passed?

I lost half a night's work just now because after about 6 months of learning and working with Mathematica it finally decided to crash on me for the very first time. Yeah my bad. At least I can ...
Jules Manson's user avatar
  • 2,397
2 votes
0 answers
68 views

How might one deal with a run-away job, short of "force quitting"?

I've done some miscoding, and I'm in a loop that's producing output quite rapidly. So, it seems that I can't really get the Abort Evaluation or Quit Kernel options to "take". Of course, I can Force ...
Paul B. Slater's user avatar
2 votes
0 answers
36 views

Possible to add a `Find "string"' to the Toolbar?

It would be nice to have a persistent "Find" feature on the tool bar. I find the FindAndReplaceDialog to be clumsy on MacOs. I could do this with a DockedCell, but then I would need to do it for ...
Craig Carter's user avatar
  • 3,926
2 votes
0 answers
153 views

Difference between versions of WolframScript

On my computer (Windows 10) I currently have installed 4 instances of wolframscript.exe. They represent different versions of WolframScript program and each file is ...
Pinti's user avatar
  • 6,483
2 votes
0 answers
2k views

Difference between NSolve and FindRoot?

While it is clear what FindRoot does (start at a point and look for local extremum using gradient), how does NSolve work? Also, ...
Tecon's user avatar
  • 53
2 votes
0 answers
174 views

"Mathematica running" not shown in Mathematica Icon in 11.1

I wonder whether this is a singular problem to my environment or not: In Mathematica 11.0.x the icon of Mathematica showed a circle around the Mathematica symbol when Mathematica was running, so one ...
mgamer's user avatar
  • 5,563
1 vote
0 answers
38 views

Problems when solving a system of PDEs with NDSolve

I am currently attempting to solve the following exercise question using NDSolve directly (ref.: Davis, M. E. (2013). Numerical methods and modeling for chemical engineers. Courier Corporation.). ...
Al Mossar's user avatar
1 vote
0 answers
56 views

Entire process of "hyperlink of paclet" to "location of real file"?

Hyperlink[AAAAA, "paclet:ref/ModularInverse"] AAAAA If I click AAAAA, then a tutorial notebook for ModularInverse.nb ...
imida k's user avatar
  • 4,037
1 vote
0 answers
66 views

Error message window upon launching Mathematica

Upon launching Mathematica (v. 11.3) I always get the Messages window with "An unknown menu command token (RebuildHelpIndex)...", as shown below. How do I eliminate that?
David G. Stork's user avatar
1 vote
0 answers
44 views

Standalone Kernel No input available

I have encountered the same problem as the thread attached. Mathematica stuck in "running" for every calculation I attempt, kernel error However, when I try to launch a standalone kernel ...
may14's user avatar
  • 11
1 vote
0 answers
59 views

Converting an .rtf file to a .nb file without data loss

I unfortunately had a notebook have a syntax error and I would have lost weeks of work. To fix this, I was able to save my old notebook as a .rtf file without any excessive data loss. When I convert ...
aspirateur's user avatar
1 vote
0 answers
89 views

Passing custom options to WolframScript file

I have an example of WolframScript file file.wls with the following contents. ...
Pinti's user avatar
  • 6,483
1 vote
0 answers
58 views

Is there a way to capture crash data on Windows?

I have a very large notebook which I've been working on for years. Every day, after I add to it, I save it as PDF. Recently Mathematica has crashed when I try to save it as PDF. Mathematica just ...
Steven Thomas Hatton's user avatar
1 vote
0 answers
63 views

NotebookEvaluate within cell with CellContext->Notebook

I've encountered the following issue with NotebookEvaluate (note the grouping into 3 distinct cells): ...
Lukas Lang's user avatar
  • 33.4k
0 votes
0 answers
44 views

Solving matrix system of ODE coupled to a non linear PDE (Reynolds)

I am trying to solve the following problem for $p$ (the pressure) between a piston skirt and a cylinder lining. This depends on the secondary motion of top and bottom of the piston skirt $e_t$ and $...
Martin's user avatar
  • 1
0 votes
0 answers
112 views

Plot a system of differential equations

I would like to plot the solutions to the system of ODEs that is written below: ...
Agaph's user avatar
  • 101
0 votes
0 answers
39 views

Differential equations system's solutions differ when one of the constant is 0

I am solving the following system of equations with Mathematica. $u'=-k_{1}ux+k_{2}x^2, x'=k_{1}ux-k_{2}x^2$ and I obtain the solution for x: $x(t)=\frac{e^{k_{1}C_{1}(t+C_{2})}k_{1}C_{1}}{-1+e^{k_{1}...
Ксения Цочева's user avatar
0 votes
0 answers
28 views

Printing problem Mathematica v12

After installing MMA v12 (Windos 7) I cannot print (using Print) on several printers, which work fine together with other programs. If a use ...
Ulrich Neumann's user avatar
0 votes
0 answers
107 views

Mathematica can't solve system of equations

I'm trying to solve an admittedly gnarly system of equations: ...
naomig's user avatar
  • 343
0 votes
0 answers
73 views

code to build systems of equations

I asked the question before but I forgot my login information: here is the question: How many equation systems can I build from five equations? the code works good but miss some equations for ...
Ateq Alsaadi's user avatar
0 votes
0 answers
82 views

solved differential system of equation

I have a system of N differential equation. For solve the system I tried to diagonalize the matrix, for example consider the next system: $$ \begin{pmatrix} \dot{x} \\ \dot{y} \\ \dot{z} \end{pmatrix}...
Arturo_222's user avatar
0 votes
0 answers
130 views

Solving system of trigonometric equations

I have a 6x6 matrix full of sin and cos in 7 variables. I should calculate the value of the variables that makes the determinant of the matrix being 0. I have tried with the following syntax but it ...
Luca93's user avatar
  • 1
0 votes
0 answers
181 views

Setting UserBaseDirectory for custom packages

Is there any reason to set $UserBaseDirectory to be anything other than the default? On my mac its set as ~/Library/Mathematica...
tarhawk's user avatar
  • 769
0 votes
0 answers
192 views

Any way of solving this system of nonlinear equations with non integer powers?

I have a system of four nonlinear equations. Some of the exponents are fractions. I was wondering if this is what is causing NSolve to run for hours without giving ...
Goose's user avatar
  • 119