Problem with a yyaxis plot
이전 댓글 표시
everytime I execute the yyaxis function, following error message came up.
Error: File: union.m Line: 1 Column: 1
The input character is not valid in MATLAB statements or expressions.
Error in matlab.graphics.internal.YYAxisEventManager/addAxes
Error in matlab.graphics.internal.YYAxisEventManager
Error in matlab.graphics.internal.YYAxisEventManager.registerAxes
Error in yyaxis
The double yaxis figure is created, but the program stopped. If the figure is created and the yyaxis function is re-excuted, the error message does not show.
I am stuck here in desparation...please help
댓글 수: 5
Mehmed Saad
2020년 4월 15일
can you post your code?
Peng Yalun
2020년 5월 21일
Mohammad Sami
2020년 5월 21일
It is not a good idea to call clear all in your functions.
Clear all will clear all the variables, including th variable juiceAB which you are using further down in your plotting.
This maybe the source of the error.
Peng Yalun
2020년 5월 21일
Ameer Hamza
2020년 5월 21일
편집: Ameer Hamza
2020년 5월 21일
Can you show the output of following statement after running in command window?
which union
It seems that the MATLAB files somehow got messed up. You may need to uninstall and reinstall MATLAB completely. Can you tell which MATLAB release are you using?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!