How to batch close the open variable window

I checked the values of many variables, is there any way to batch close these Windows?

Antworten (1)

Matt J
Matt J am 15 Okt. 2024

0 Stimmen

You can try,
com.mathworks.mlservices.MatlabDesktopServices.getDesktop.closeGroup('Variables')

4 Kommentare

D.D Xie
D.D Xie am 15 Okt. 2024
I appreciate your help, but this code doesn't work. Just in case you didn't get the point, I've attached a picture below of the "variables window" I expect to close.
Matt J
Matt J am 15 Okt. 2024
What OS are you using?
D.D Xie
D.D Xie am 15 Okt. 2024
windows 10
Matt J
Matt J am 15 Okt. 2024
Dunno. Works fine for me.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Variables finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2023b

Gefragt:

am 15 Okt. 2024

Kommentiert:

am 15 Okt. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by