是否可以在远程服务器上运行matlab并使用瘦客户端的matlab GUI控制它?(Is it possible to run matlab on a remote server and contro

编程入门 行业动态 更新时间:2024-10-28 19:19:22
是否可以在远程服务器上运行matlab并使用瘦客户端的matlab GUI控制它?(Is it possible to run matlab on a remote server and control it using the matlab GUI from a thinclient?)

类似于使用slime的emacs可以做什么:核心服务可以在性能等级的远程计算机上运行,​​而我可以在上网本上编辑和运行来自emacs gui的代码。

我和我的同事经常需要使用在matlab中运行的机器学习脚本来做一些演示

这要求我们携带沉重的笔记本电脑。

我们可以让应用程序在远程服务器上运行并使用相同的matlab gui访问它而无需在本地运行脚本吗?

不接受远程桌面或类似解决方案:多个用户希望使用同一服务器。

这就是为什么这里的答案都没有用

Akin to what can be done with emacs with slime: the core services can run on a performace grade remote computer while I can edit and run code from emacs gui on an netbook.

Me and my colleagues often need to do some demos using machine learning scripts running in matlab

This requires us to carry around heavy laptops.

Could we have the applications running on a remote server and access it using the same matlab gui without running the scripts locally?

Remote desktop or similar solutions are not acceptable: multiple users would like to use the same server.

This is why none of the answers here were helpful

最满意答案

根据我的经验,最好的方法是使用VNC 。 您可以在主机上启动VNC服务器 ,然后使用VNC客户端从任何位置远程访问此桌面。 您可以在其他时间断开连接并重新连接,您的桌面仍然在那里。 此外,多个用户都可以进行不同的会话,或者可以访问同一个会话。 如果您不希望每个会话都运行完整的桌面,则可以将其配置为最小化。 为安全起见,建议使用SSH隧道或类似设备。

确切的程序会根据您的设置而有所不同,但谷歌的内容会以粗体显示。

我的设置是:

VNC服务器 :Ubuntu linux主机上的vnc4server 。 VNC客户端 :适用于Mac 的VNC鸡SSH隧道 :用于mac的SSH隧道管理器 (尽管这也可以在命令行中完成)。

祝你好运!

编辑:这是我刚刚在我们的集群上启动的vncserver会话的屏幕截图,其中运行了matlab。 我通过我的mac上的vnc客户端访问它。 效果很好!

在此处输入图像描述

In my experience, the best way is with VNC. You can start a VNC server on the host machine, and then access this desktop remotely from anywhere with a VNC client. You can disconnect and reconnect at another time, and your desktop will still be there. Also, multiple users can all have different sessions going, or can access the same one. If you don't want each session to run a full blown desktop, you can configure it to be minimal. For security, it is recommended to use an SSH tunnel or similar.

The exact programs will vary based on your setup, but the things to google are bolded, above.

My setup is:

VNC server: vnc4server on a Ubuntu linux host. VNC client: Chicken of the VNC for mac. SSH tunnel: SSH Tunnel Manager for mac (although this can be done at the command line too).

Good luck!

EDIT: Here is a screenshot of a vncserver session I just started up on our cluster, with matlab running in it. I'm accessing it through the vnc client on my mac. Works great!

enter image description here

更多推荐

本文发布于:2023-07-28 04:28:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1300333.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:客户端   器上   GUI   run   matlab

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!