How to batch close the open variable window

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

답변 (1개)

Matt J
Matt J 2024년 10월 15일

0 개 추천

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

댓글 수: 4

D.D Xie
D.D Xie 2024년 10월 15일
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 2024년 10월 15일
What OS are you using?
D.D Xie
D.D Xie 2024년 10월 15일
windows 10
Matt J
Matt J 2024년 10월 15일
Dunno. Works fine for me.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Variables에 대해 자세히 알아보기

제품

릴리스

R2023b

질문:

2024년 10월 15일

댓글:

2024년 10월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by