In Simulink® Project, use shortcuts to make it easy for any project user to find and access important files and operations. You can use shortcuts to make top models or scripts easier to find in a large project. Shortcuts are available from any file view via the toolstrip.
If your project does not yet contain any shortcuts, see Create Shortcuts to Frequent Tasks.
To use shortcuts:
In the Project Shortcuts toolstrip tab, click the shortcut. Clicking a shortcut in the toolstrip performs the default action for the file type, for example, run .m files, load .mat files, and open models. Hover over a shortcut to view the full path.
Alternatively, select the Shortcut Management view, right-click the shortcut file, and select an action, such as Open or Run.
To make a shortcut available in the Batch Job list without browsing for the file, select Set Shortcut Action > Batch Job.
In the context menu you can select Run as Shortcut or Run. Choose which behavior you want:
If the script is not on the path, and you want to switch to the parent folder and run the script without being prompted, then select Run as Shortcut or click the shortcut in the Project Shortcuts toolstrip tab. If you use this option, the result of pwd in the script is the parent folder of the script. For example, use this to run startup shortcuts that set up the project path and change folder for you.
If the script is not on the path and you select Run, MATLAB® asks if you want to change folder or add the folder to the path. This is the same behavior as running from the Current Folder browser. If you use this option, the result of pwd in the script is the current folder when you run the script.