I want to suppress: useCS = logical 1 in command window

66 ビュー (過去 30 日間)
David
David 2025 年 12 月 14 日 12:54
編集済み: Star Strider 2025 年 12 月 15 日 1:48
This "spam" repeats over and over in the command window. I want to suppress this.
useCS =
logical
1
useCS =
logical
1
  1 件のコメント
David
David 2025 年 12 月 14 日 22:38
移動済み: Torsten 2025 年 12 月 14 日 23:59
In debug mode (output) I got this:
I tried several solutions suggested by grok/chatGPT but none of them worked. Im using R2026a so it might be a internal bug.
useCS = logical 1 Attempt to modify the tree during an update traversal. Error in matlab.graphics.interaction.internal.UnifiedAxesInteractions.setDefaultBehaviorForText
Error in matlab.graphics.interaction.internal.UnifiedAxesInteractions.setDefaultBehaviorForTextArray
Error in matlab.graphics.interaction.internal.UnifiedAxesInteractions.createCartesianAxesTextInteractions
Error in matlab.graphics.interaction.internal.UnifiedAxesInteractions.createInteractionsForTitlesAndLabels
Error in matlab.graphics.interaction.internal.UnifiedAxesInteractions.createDefaultInteractionsInSync
Error in matlab.graphics.interaction.internal.UnifiedAxesInteractions.createDefaultInteractions>@()matlab.graphics.interaction.internal.UnifiedAxesInteractions.createDefaultInteractionsInSync(ax,is2dim,numDataSpaces)

サインインしてコメントする。

回答 (2 件)

Star Strider
Star Strider 2025 年 12 月 14 日 13:02
編集済み: Star Strider 2025 年 12 月 15 日 1:48
Without knowing more about your code or what it is dooing, see if puttting a semicolon (;) at the end of the line that assigns 'useCS' solves the problem.
(There is not enough information provided to suggest any other solution.)
EDIT -- (15 Dec 2025 at 01:48)
Since you are using the R2026a pre-release, you need to contact the appropriate support at MathWorks. This may be a bug they need to know about.
Also, if you have access to R2025b, see if it produces the same error.
.

Steven Lord
Steven Lord 2025 年 12 月 14 日 14:38
You can tell MATLAB to enter debug mode when unsuppressed output occurs. Use this to determine where the semicolon on the line that assigns to the useCS is located, then add the semicolon.

カテゴリ

Help Center および File ExchangeCalendar についてさらに検索

製品


リリース

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by