mathworks / jupyter-matlab-proxy

MATLAB Integration for Jupyter enables you to run MATLAB code in Jupyter Notebooks and other Jupyter environments. You can also open MATLAB in a browser directly from your Jupyter environment to use more MATLAB features.
Other
275 stars 36 forks source link

Support for Simulink Online through Desktop interface. #95

Open GitHub4LP opened 3 months ago

GitHub4LP commented 3 months ago

屏幕截图 2024-08-04 175152 屏幕截图 2024-08-04 175720 屏幕截图 2024-08-04 181634 ...

GitHub4LP commented 2 months ago

屏幕截图 2024-08-04 175152 屏幕截图 2024-08-04 175720 屏幕截图 2024-08-04 181634 ...

The first two are without a base URL; the latter one is that my host is not 127.0.0.1:31515.

prabhakk-mw commented 2 months ago

Hi @GitHub4LP

Thank you for reaching out.

The images on your second comment are not visible to me, could you please update the comment with the images correctly uploaded?

Also, could you please share the issue you are facing from either the notebook usage of MATLAB or the Desktop use of MATLAB?
Understanding your workflow so that we can reproduce the issue on our end will help us investigate appropriately.

Note that , the URL 127.0.0.1:31515 is most likely one of the URLs we use internally within the package to communicate with MATLAB and it should not be effecting your user experience.

GitHub4LP commented 2 months ago

The images are what I used for reference and explanation.(quote)

I can only access JupyterLab (Ubuntu 22.04 + host + base URL), through which I have installed MATLAB R2024a and jupyter-matlab-proxy along with their dependencies. I can normally access the MATLAB GUI via host + base URL /matlab, but when I try to open Simulink, it does not open. Upon inspecting with F12, I see that some URLs are missing the base URL, while the host is fine; others have the host as 127.0.0.1:31515 with the base URL being correct. The picture illustrates the results I mentioned.

prabhakk-mw commented 2 months ago

Thank you for the clarification @GitHub4LP !

Unfortunately, The Simulink user interface is currently not supported through this integration. We are working towards introducing support for it in the near future.

I also acknowledge that the documentation on the limitations of this integration needs to be updated to include this information.

prabhakk-mw commented 2 months ago

I've updated the title of this issue to reflect your intent to use Simulink Online through the integration, and will keep it open until we have introduced support.

In the meantime, incase you haven't already discovered, it is possible to interact with Simulink through the command line interface. Commands like sim etc.