Interact with the Test Browser GUI programatically?
Show older comments
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?
Accepted Answer
More Answers (1)
Anjana Krishnan
on 18 Aug 2026
0 votes
You can use the "testBrowser" API to open the test browser. There are currently no APIs to control the actions within the test browser, however. The "testBrowser" API simply launches the test browser and can be added to your startup script.
Categories
Find more on Software Development in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!