Cannot open variables from workspace in 2025a/b

243 visualizzazioni (ultimi 30 giorni)
Gary
Gary il 6 Ott 2025
Commentato: Darcy circa 10 ore fa
I cannot seem to open variables in the variable viewer in 2025a or 2025b. The behavior is very inconsistent. For some variables, I can initially open them from the workspace by double clicking. A few minutes into my session, I will be unable to open the variables by double clicking. Sometimes when doing this, it will open a variable viewer window and not show anything (either it seems to be stuck on loading the actual content of the variable, or it appears to think it loaded the content without displaying anything). Other times, double clicking a variable does absolutely nothing. It does not work if I right click -> open selection either. When this happens, I CAN see the content of the variables if the variable is accessed through the command window, but this is not the most convenient method for exploring large structs, etc. I've tried reinstalling, regenerating my preferences folder, etc. These did not help. This is super frustrating and makes all 2025 versions largely useless for me.
  7 Commenti
半瓶君乐宝
半瓶君乐宝 il 11 Nov 2025 alle 2:51
Modificato: Torsten circa 22 ore fa
我也遇到了同样的问题
I encountered the same problem.
ANDREA
ANDREA circa 20 ore fa
I found a little workaround: whenever you wanna open a variable, long press it and drag it somewhere else. It should open that variable.

Accedi per commentare.

Risposte (2)

James Owen
James Owen il 11 Nov 2025 alle 20:38
There may be 2 separate issues that Gary is experiencing:
  1. Issues with double click or right click-> open selection sometimes not opening a variable may be the following known issue: If a variable is opened in the Variable Editor and then subsequently closed, the variable with that name cannot then be re-opened in the Variable Editor. Our development team is actively qualifying a fix for this issue now. In the meantime you can work around the issue by copying the content of the variable to a new variable name and then opening that new variable in the Variable Editor. Please check back or set an alert on this post to be made aware of when the fix is available.
  2. The issue with opening a Variable Editor window which appears stuck or loading. This can happen for some objects which open in a special viewer outside the Variable Editor (e.g. Simulink.Bus). I’m not sure if this applies to Gary’s situation, but if so then the Variable Editor may show a loading spinner in the desktop even though the special object viewer is successfully displayed in a separate window. Our development team are actively qualifying a fix for this issue now as well. If this case applies, the best workaround is just to close the invalid Variable Editor document with the loading spinner
  1 Commento
Darcy
Darcy circa 10 ore fa
I am having the exact same issue as Gary.
Regarding your Option #1, if I try to rename the variable, the same thing happens.
Regarding Option #2, I am not using any special viewer. No SimuLink installed.
The variable opens in variable window with two separate tabs. One shows a spinning wheel as if the variable is loading (see attached). But neither tab actually displays the variable. If I close either tab, it does not change anything or display the variable. This has happened from time to time (seemingly randomly, cannot diagnose or assess when it will happen). The only solution I have is to restart MATLAB. I am running MATLAB 2025a on Mac Sequoia 15.6.

Accedi per commentare.


Cris LaPierre
Cris LaPierre il 13 Ott 2025 alle 13:02
Please report any product usage issues directly to MathWorks here.

Prodotti


Release

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by