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

This "spam" repeats over and over in the command window. I want to suppress this.
useCS =
logical
1
useCS =
logical
1

1 commentaire

David
David le 14 Déc 2025
Déplacé(e) : Torsten le 14 Déc 2025
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)

Connectez-vous pour commenter.

Réponses (3)

Star Strider
Star Strider le 14 Déc 2025
Modifié(e) : Star Strider le 15 Déc 2025

0 votes

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 le 14 Déc 2025

0 votes

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.
Sean de Wolski
Sean de Wolski le 11 Mar 2026
Modifié(e) : Sean de Wolski le 11 Mar 2026
This occurs for me (26a-prerelease) when adding a ConstantLine to a ChartContainer. Stopping unsupressed output throws the update traversal error and then it stops in space
>> dbstop if 'unsuppressed output'
>> myChartContainer
ans =
useCS =
logical
1
Error using matlab.graphics.axis.Axes/addNode
Attempt to modify the tree during an update traversal.
Error in matlab.graphics.interaction.graphicscontrol.InteractionObjects.DatatipsClientHoverInteraction/initMarker
Error in matlab.graphics.interaction.graphicscontrol.InteractionObjects.DatatipsClientHoverInteraction
Error in matlab.graphics.interaction.interactions.DataTipInteraction/createWebInteraction
Error in matlab.graphics.interaction.interactioncontainers.StandardAxesInteractionContainer/createWebInteraction
Error in matlab.graphics.interaction.interactioncontainers.BaseAxesInteractionContainer/createDefaultWebAxesInteractions
Error in matlab.graphics.interaction.interactioncontainers.CartesianAxesInteractionContainer/createDefaultWebAxesInteractions
Error in matlab.graphics.interaction.interactioncontainers.BaseAxesInteractionContainer/setupInteractions
Error in matlab.graphics.interaction.internal.UnifiedAxesInteractions.createDefaultInteractionsOnAxes
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)
K>>

Catégories

En savoir plus sur MATLAB Coder dans Centre d'aide et File Exchange

Produits

Version

R2025b

Question posée :

le 14 Déc 2025

Community Treasure Hunt

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

Start Hunting!

Translated by