Questions tagged [process-control]

Questions about interfacing with other processes, in particular RunProcess and related functions.

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

Comparison of NDSolve and Asymptotic Output Tracking results: Problem identified

My question is a continuation of the topic: Asymptotic Output Tracking: Code Issues Edit: Take system of ODE for example: $\begin{cases} \frac{dx}{dt}=H \cdot \alpha \sin(\omega t)+\alpha \omega \cos(\...
dtn's user avatar
  • 2,364
2 votes
1 answer
186 views

Asymptotic Output Tracking: Code Issues

My question is a continuation of the topic Which way of solving from nonlinear control to choose?, and in the future I plan to expand this question. I want to try to apply this article https://www....
dtn's user avatar
  • 2,364
1 vote
0 answers
38 views

Which way of solving from nonlinear control to choose?

I have a nonlinear system: \begin{cases} x'=f(x)+u \\ y=f(x) \end{cases} where $f(x)$ - gradient of some one-extremal function (for example $f=e^{-(x)^2}$), i.e. $\frac{df}{dx}$. I want to construct a ...
dtn's user avatar
  • 2,364
0 votes
1 answer
117 views

Send plain text out through a COM port (such as Labview, MATlab, Python or even a terminal emulator)

We have purchased a pump. And we would like to control the pump through Mathematica. The furnished has explained to us: ...
Nam Nguyen's user avatar
  • 1,751
1 vote
1 answer
58 views

Changing the quality of the transient process in a nonlinear system (in Mathematica)

I urgently need advice and help. I have a system of differential equations like this: $\begin{cases} \frac{dx}{dt} == y[t] \cdot \alpha \cdot sin(\omega t) + \frac{d}{dt}(\alpha \cdot sin(\omega t)) ...
dtn's user avatar
  • 2,364
2 votes
1 answer
65 views

Aligning Conditional Controls in Manipulate

Consider the following code ...
sam wolfe's user avatar
  • 4,167
6 votes
2 answers
934 views

RunProcess and SystemShell - some built in commands don't work?

I'm running a zsh shell: $SystemShell = "/bin/zsh" My problem is that some basic system-level commands don't work in ...
M.R.'s user avatar
  • 31.2k
10 votes
2 answers
555 views

How to respond to password prompt with StartProcess?

Title says it all so let me show it on a Git example on Windows. Let's say you have your git executable on the system PATH: ...
Kuba's user avatar
  • 136k
5 votes
1 answer
302 views

How to send an "end-of-file" marker to a process object's standard input?

On a Unix-like system I can do this: $ cat some text some text ^D The cat utility will echo back everything I send to it ...
Szabolcs's user avatar
  • 233k
5 votes
1 answer
209 views

Does RunProcess work on Chinese Windows?

I am asking for feedback from people running Mathematica 10.0.x or 10.1.0 on Chinese versions of Windows. Does the following command work or does it give $Failed? ...
Szabolcs's user avatar
  • 233k