open Linux Konsole from Matlab

3 views (last 30 days)
on Ubuntu 18.04 shell typing
konsole &
a new window with console opens, as expected.
In Matlab typing
[status, cmdout] = system('konsole &', '-echo')
nothing happens...
The output is:
status =
cmdout =
0×0 empty char array
How to open a new console in a new thread from Matlab?
How to hand over even parameters or commands into this new console?
Executing e.g.
[status, cmdout] = system('jedit &', '-echo')
runs as expected. jedit opens and can be operated as usual.
Thanks for your answers

Sign in to comment.

Accepted Answer

Bjorn Gustavsson
Bjorn Gustavsson on 27 Jul 2021
From the man-page of xterm I get this suggestion:
-e program [ arguments ... ]
Which should be applicable to your case?

More Answers (0)




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by