Open zbalkhy opened 1 month ago
Hi @zbalkhy Could you please share the output of executing the troubleshooting.py script as well?
Thanks
Hi @zbalkhy
Thank you for using MATLAB Integration for Jupyter.
The issue you are facing when running MATLAB code containing symbolic equations might be due to misconfigured setup. As mentioned in the requirements of this package, on Linux systems, we require xvfb
to be installed.
Please install xvfb
using the instructions mentioned in the requirements section and check if the error is reproducible. If it is, please follow the instructions in the troubleshooting guide and share the output.
Hope this is helpful
Summary
Hello, i'm running into an error trying to use the vpa() command in MATLAB
I've set up a jupyter instance on a remote server using: 'jupyter notebook --no-browser --port=8080'
I've created an ssh tunnel to the server using: 'ssh -L 8080:localhost:8080 REMOTE_USER>@<REMOTE_HOST'
in a Jupyter notebook at localhost:8080 i am able to run most matlab commands. However, when trying to run the vpa command i'm met with an error. I've pasted an example code snippet and the corresponding error below.
I've tried to set the DISPLAY env variable to
export DISPLAY=:0.0
but to no avail.I'm sure this is user error on some level since i don't see it in the list of limitations in the documentation. Please advise!
Thanks!!
display(digits); oldDigits = digits(10); display(digits); number = vpa(5.12345658); display(number);
MATLAB Kernel Error: Error using matlab.internal.cef.webwindow DISPLAY environment variable must be set to a valid X11 display.
Error in jupyter.execute>processSymbolic (line 218) webwindow = matlab.internal.cef.webwindow(connector.getUrl(url));
Error in jupyter.execute>processOutputs (line 124) result{ii} = processSymbolic(outputData);
Error in jupyter.execute (line 54) result = processOutputs(resp.outputs);
Error in processJupyterKernelRequest (line 54) output = jupyter.execute(code, kernelId);
Error in connector.internal.fevalMatlab
Error in connector.internal.fevalJSON
Browser(s) used
No response
Issue found in
No response
Script output
No response