yyaxis left with Invalid text character error

3 次查看(过去 30 天)
I dont know if anyone ever ran into this but its killing me.
I have been trying to use yyaxis on Matlab 2020a as well as Matlab 2019a/b, but all I get is this error:
Error: File: union.m Line: 1 Column: 1
Invalid text character. Check for unsupported symbol, invisible character, or
pasting of non-ASCII characters.
Error in matlab.graphics.internal.YYAxisEventManager/addAxes
Error in matlab.graphics.internal.YYAxisEventManager
Error in matlab.graphics.internal.YYAxisEventManager.registerAxes
Error in yyaxis
Error in yyaxis
I have tried:
1. calling yyaxis independently in the command line, but its not working.
2. reinstalling Matlab, not working
3. different versions of Matlab (2020a, 2019a, 2019b), not working
4. different OS (Mac, PC), not working
I am really out of my depth here, please, if anyone know how to solve this...
Thanks
  6 个评论
Walter Roberson
Walter Roberson 2021-1-23
/Users/yp1017/Downloads/ExpData/Juice_Choice/Code/ToolBoxes/ndt.1.0.4/octave_code/union.m
You need to get that off of your path, either by renaming it or deleting it, or using pathtool to remove the directory from your MATLAB path. It is code intended for octave anyhow, so you should not have it on your path when using MATLAB.
(You are not using the package I was thinking of; I do not recall encountering the one you are using.)

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2021-1-23
[Copying down]
/Users/yp1017/Downloads/ExpData/Juice_Choice/Code/ToolBoxes/ndt.1.0.4/octave_code/union.m
You need to get that off of your path, either by renaming it or deleting it, or using pathtool to remove the directory from your MATLAB path. It is code intended for octave anyhow, so you should not have it on your path when using MATLAB.
(You are not using the package I was thinking of; I do not recall encountering the one you are using.)

类别

Help CenterFile Exchange 中查找有关 Characters and Strings 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by