Fixture for loading project
ProjectFixture is a fixture for loading a project during execution of a test suite.
The test framework constructs this class. When the test framework sets up the fixture, it loads the project if not already loaded. When the test framework tears down the fixture, the project is closed if the fixture loaded it, otherwise the project remains loaded.
matlab.unittest.fixtures.ProjectFixture class is a
For information on class attributes, see Class Attributes.
Instances of this class are created only by the testing framework.
ProjectFolder — Project root folder
path to project root folder
Project root folder, specified as a string scalar.
ProjectFolder contains the absolute path to the root folder of the project that is loaded when the fixture is set up.
You cannot use the
fromProjectmethod in compiled applications created with the MATLAB® Compiler™. For more information, see Functions Not Supported for Compilation by MATLAB Compiler and MATLAB Compiler SDK (MATLAB Compiler).