Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Simulink Online through Desktop interface. #95

Open
GitHub4LP opened this issue Aug 4, 2024 · 7 comments
Open

Support for Simulink Online through Desktop interface. #95

GitHub4LP opened this issue Aug 4, 2024 · 7 comments

Comments

@GitHub4LP
Copy link

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

@prabhakk-mw prabhakk-mw added question Further information is requested waiting for response labels Aug 5, 2024
@prabhakk-mw prabhakk-mw self-assigned this Aug 5, 2024
@GitHub4LP
Copy link
Author

屏幕截图 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
Copy link
Member

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
Copy link
Author

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
Copy link
Member

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 prabhakk-mw changed the title Some request addresses did not adjust according to Jupyterlab's base URL. Support for Simulink Online through Desktop interface. Aug 6, 2024
@prabhakk-mw
Copy link
Member

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.

@GitHub4LP
Copy link
Author

Can you use a server worker to correct the address on the browser side? @prabhakk-mw

@prabhakk-mw
Copy link
Member

@GitHub4LP, The URL's that you have mentioned do not require a correction. These are part of internal communications between this package and MATLAB.

If possible could you please try using MATLAB R2024b? with the latest versions of jupyter-matlab-proxy & matlab-proxy?

pip install -U jupyter-matlab-proxy matlab-proxy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants