Interact with the Test Browser GUI programatically?

I have a matlab project that contains a folder for of test classes at
test_path = "<project_root>/tests/"
This file is automatically added to the project search path by a startup script. I like the Test Browser panel in the GUI, however I find that each session I have to manually add my tests to the browser by clicking the "plus" icon and selecting my test path in the selection window.
Is there a way to modify my project settings or the startup script to automatically populate the Test Browser panel with my tests?
Thanks for the responses. Please note that I am NOT asking how to run tests or create test suites programatically here - I know how to do that using the testsuite and run- I'm specifically intersted in making the Test Browser panel populate automatically with my tests.

답변 (1개)

dpb
dpb 2026년 2월 1일
이동: dpb 2026년 2월 3일

0 개 추천

This does not seem to be possible -- the Test Browser GUI appears to be totally without any API interface and designed to be transient in that it doesn't retain prior state on restart.
Seems like a worthy enhancement to remove an annoyance, indeed...

댓글 수: 3

Jennifer
Jennifer 2026년 5월 9일 20:26
I also would be interested in this feature.
Stephen23
Stephen23 2026년 5월 10일 5:07
@Jennifer: you can make enhancement requests here:
Jennifer
Jennifer 2026년 5월 10일 22:20
Done! Thanks!

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

카테고리

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

제품

릴리스

R2025b

질문:

2026년 1월 30일

댓글:

2026년 5월 10일 22:20

Community Treasure Hunt

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

Start Hunting!

Translated by