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

add support for matlab #13314

Closed
codingToPerfection opened this issue Apr 12, 2023 · 4 comments
Closed

add support for matlab #13314

codingToPerfection opened this issue Apr 12, 2023 · 4 comments
Assignees
Labels
feature-request Request for new features or functionality info-needed Issue requires more information from poster

Comments

@codingToPerfection
Copy link

I think it is possible for matlab proxy working in vscode-jupyter environment.

The related issue is here matlab proxy unable to run on vscode-jupyter

here's what's returned when i tried to use matlab proxy on vscode-jupyter

I use vscode-jupyter to launch matlab kernal.

It returns :

Kernel needs to be started by a Jupyter Server. Please use JupyterLab or Classic Notebook while using MATLAB Kernel for Jupyter.
@codingToPerfection codingToPerfection added the feature-request Request for new features or functionality label Apr 12, 2023
@DonJayamanne
Copy link
Contributor

DonJayamanne commented Apr 12, 2023

Thanks for filling this issue and sorry you are running into this
Please can you provide steps to replicate this issue (with instruction to setup matlab and the like)

Please could you enable logging as follows:

  • Open settings & go into Jupyter->Logging
  • Change the value to verbose
  • Reload VS Code,
  • Attempt to repro the issue & then copy the output from the Jupyter output panel.

@DonJayamanne
Copy link
Contributor

Kernel needs to be started by a Jupyter Server. Please use JupyterLab or Classic Notebook while using MATLAB Kernel for Jupyter.

where is this displayed, please could you provide a screenshot

@DonJayamanne DonJayamanne added the info-needed Issue requires more information from poster label Sep 3, 2023
@DonJayamanne
Copy link
Contributor

Closing this issue as its been over 4 weeks, since the information was requested.
We'll be happy to reopen the issue when the requested information has been provided.

@Houndoom96
Copy link

I am having a similar issue.

steps to replicate:

  1. Install matlab as per their instructions and add to PATH: https://www.mathworks.com/help/install/ug/install-products-with-internet-connection.html
  2. install jupyter-matlab-proxy using pip to current python environment.
  3. create a new notebook in vscode and select kernel MATLAB Kernal (my_env). This option appears in the VS code kernel select menu under "Select Another Kernel > Jupyter Kernel > MATLAB Kernel (my_env)"
  4. try to run cell with matlab code and error message appears in output section.
    Screenshot 2023-10-05 at 4 58 34 AM

log output:
05:04:42.228 [info] Handle Execution of Cells 0 for ~/Documents/Research/energy_graphs.ipynb 05:04:42.229 [debug] start the kernel, options.disableUI=false for ~/Documents/Research/energy_graphs.ipynb 05:04:42.230 [debug] Execution Request Sent to Kernel for cell 0 05:04:42.234 [debug] Start cell 0 execution @ 1696507482234 (clear output) 05:04:42.234 [info] Kernel acknowledged execution of cell 0 @ 1696507482234 05:04:42.236 [info] End cell 0 execution @ 1696507482236, started @ 1696507482234, elapsed time = 0.002s 05:04:42.236 [debug] Cell 0 executed with state Success

Note that I was able to make this work by starting jupyter notebook server with the kernel first and then connecting to the existing server in vs code instead of selecting a kernel

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 20, 2023
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants