(Not recommended) Add folder to path of project
simulinkproject
is not recommended. Use currentProject
or openProject
instead. For more information, see Compatibility Considerations.
adds a folder in a project to the current project path. The folder must be in the
project. The project puts the folders on the MATLAB® search path when it loads and removes them from the path when it
closes. To learn more, see Specify Project Path.folderpath
= addPath(project
, folder
)