https://www.mathworks.com/help/matlab-test/ug/test-impact-analysis-using-matlab-build-tool.html
Test Impact Analysis Using MATLAB Build Tool - MATLAB & Simulink
Run the tests impacted by changes to code and data by using the MATLAB build tool.
test impact analysisbuild toolusingmatlabsimulink