Remote Control of Matlab Created GUI

3 views (last 30 days)
Henry
Henry on 24 Jun 2013
I've written a program in Matlab that creates a GUI figure and I would like to run that program remotely from another computer (not just the Matlab command line). I read about using SSH, setting up a server but not sure how to get started or whether it will indeed show the created GUI on the remote computer or it's only limited access of Matlab through command line. Any help will be appreciated. Thanks.

Answers (1)

Walter Roberson
Walter Roberson on 24 Jun 2013
Methods vary according to the operating system of the system the program will actually run on.
If the server is MS Windows, then the best would be to run Windows Terminal Server on the server. This will provide a complete virtual display. Most other screen-sharing programs for MS Windows end up driving the console itself, making it impossible for someone to use the program remotely while someone else is sitting doing something at the computer.
If the server is Linux, then ssh should work, but you might get notably better drawing performance if you are using vnc or a similar program. Either way you should be able to get a complete virtual display that does not interfere with the main display (but might not be able to make use of full hardware graphics acceleration.)
If the server is OS-X, then somewhere back around R2009b ssh still would have worked, but after that too many bits of Quartz crept in. Oh, it was nominally possible up to R2011b, but it was frustratingly slow whenever I tried it. I am not sure what the recommendation would be these days for access to MATLAB running on an OS-X server; possibly Apple Remote Desktop.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!