Problem with a yyaxis plot

7 ビュー (過去 30 日間)
Peng Yalun
Peng Yalun 2020 年 4 月 15 日
編集済み: Ameer Hamza 2020 年 5 月 21 日
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 件のコメント
Peng Yalun
Peng Yalun 2020 年 5 月 21 日
I only called clear all when verbose = 0, but as you see the "clear all" code is never executed.
However I still delete these and the error persists....
Thank you though
Ameer Hamza
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 件)

カテゴリ

Help Center および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by