-
Notifications
You must be signed in to change notification settings - Fork 76
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
unintelligible codes #155
Comments
Hi, this seems to be something to do with encoding. Which Python version are you using? |
It seemed to be python 3.8 and MATLAB 2020b. I just tried it again and the error could display correctly this time with python 3.8 and MATLAB 2021b. Thanks for your help anyway! |
I encountered a similar problem: That symbol is "Non-printable U+001A". Here is the produced cell:
My system: |
The problem seems to be related to # try:
# from wurlitzer import pipes
# except Exception:
# pipes = None
pipes = None |
Dug a little deeper: The problem is caused by a bug in the Matlab engine for Python: |
Thanks @allefeld for the info! |
When the matlab code is wrong, the tips can't show correctly.
My pc's default language is Chinese. I don't know if that's the reason.
wrong one:
x=1:1:100; y=10*x*x; plot(x,y) title('test')
correct one:
x=1:1:100; y=10*x.*x; plot(x,y) title('test')
tip:
The text was updated successfully, but these errors were encountered: