Just updated from 2019a to 2025a, both on the same PC running Windows 10, with Inter(R) UHD Graphics 630, driver version 31.0.101.2134. Error appeared when testing, e.g. plot(randn(1, 64)):
Warning: Error in state of SceneNode.
Invalid type of input arguments (should be uint64)
Error using +
Invalid type of input arguments (should be uint64)
Error in matlab.graphics.interaction.graphicscontrol.InteractionsManager/registerInteraction
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)

4 件のコメント

Torsten
Torsten 2025 年 8 月 6 日
編集済み: Torsten 2025 年 8 月 6 日
Contact MATLAB Technical Support:
Walter Roberson
Walter Roberson 2025 年 8 月 6 日
The most common cause of this sort of problem, is if you accidently have a third-party function with the same name as a Mathworks function.
Experiment by creating a new directory and cd'ing to the directory, and doing
restoredefaultcache; rehash toolboxcache
and trying the plotting again. If the plotting works then you have an interfering function.
Zhengchao
Zhengchao 2025 年 8 月 7 日
Thanks, Walter!
But it does not work.
Meg Noah
Meg Noah 2025 年 8 月 7 日
Can you try casting the data input to the function to uint64 type? For example:
plot(uint64(256*sin(linspace(0,pi,1000))))
●

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

回答 (1 件)

Zhengchao
Zhengchao 2025 年 8 月 8 日
移動済み: Walter Roberson 2025 年 8 月 8 日

0 投票

Thank you all!
The problem is solved by MATLAB Technical Support -- There are conflicting 'plot()' functions in the Matlab paths. The paths with 3rd party 'plus()' should be removed.

1 件のコメント

Image Analyst
Image Analyst 2025 年 8 月 10 日
Are you saying that you had folders in your search path that had parentheses in their name, after the plus word? Like "C:\Program FIles\YourBadApp\plus()\something" ?
And you used the SetPath button on the Home tab of the tool ribbon to remove folders that had plus() in the folder name? And then it worked OK? So I guess your "conflicting" plot.m file was in the plus() folder, right?

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

カテゴリ

ヘルプ センター および File Exchange で MATLAB についてさらに検索

製品

リリース

R2025a

質問済み:

2025 年 8 月 6 日

コメント済み:

2025 年 8 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by