Knowledge Base
Searching in : Article
ID: AR11G00546
Applies to: NX Software
Added on: 2009-11-16
Last Update: 2009-11-16

How to run Matlab as a single application

When using Matlab with NX, two windows are created, one for loading and one
for the workspace.

When loading is completed, the first window is closed as expected. But when the first Matlab process terminates, NX Node considers the session closed and
loses the process id. This consequently causes the whole application to be closed.

There are two workarounds that you can apply:

1. In NX Client settings, where you have "Run the following
   command" put "xterm" in place of "matlab". When xterm
   windows is showed, type "matlab" in the terminal.

2. In the same text box at point 1, you can tell xterm to
   run matlab:

   xterm -e matlab