Running Simulink Online on Selfhosted Docker MATLAB Online Instance

6 次查看(过去 30 天)
Hello, I'm currently running MATLAB on my server along with JupyterLab using jupyter-matlab-proxy based on Docker.
This extension allows us to integrate MATLAB with JupyterLab and also allows us to use selfhosted instance of MATLAB Online if needed.
All features of MATLAB Online wors very well just as locally installed MATLAB desktop application.
However, as I try to run Simulink Online and create a Blank Model on it, it gives me a following error:
----------
Unable to run the 'fevalJSON' function because it calls the 'open_system' function, which is not supported for MATLAB Online. To use this function, use an installed version of MATLAB on your computer.
----------
As far as I know, MATLAB already provides Simulink Online service on their official server instance.
I do installed Simulink and many other toolboxes required for running Simulink on my container image.
Is is not supported on user-created docker image (Which installs MATLAB by MATLAB Package Manager, MPM) or am I doing something wrong?
I'd really appreciate if I can run a selfhosted Simulink Server.
Thank you.

采纳的回答

Jack
Jack 2023-3-27
Hi,
Unfortunately, Simulink Online is not currently supported in MATLAB Online, even if you have installed Simulink and other required toolboxes on your Docker image.
Simulink Online is a separate service provided by MathWorks, and it requires a separate license and infrastructure to run. It is not currently available for self-hosting, and can only be accessed through MathWorks' official servers.
In order to use Simulink, you will need to either use a locally installed version of MATLAB that includes Simulink support, or connect to a remote server that has Simulink installed and can run simulations for you. Alternatively, you could consider using other simulation tools that are available for online use and do not require a locally installed version of MATLAB or Simulink.
  1 个评论
Dongho Kim
Dongho Kim 2023-3-27
Thank you very much for the answer. There was no way at the first point.
I'd rather look for building GUI-based MATLAB (VNC, XRDP, or Sunshine) container later on.
Thank you again.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Containers 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by