Skip to content

Commit e9ac599

Browse files
authored
adding a note about MATLAB current folder (#52)
1 parent 22e8512 commit e9ac599

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ When you use this action, all of the required files must be on the MATLAB search
6060
`command: addpath("myfolder"), myscript`
6161

6262
## Notes
63+
* By default, when you use the **Run MATLAB Command** action, the root of your repository serves as the MATLAB startup folder. To run your MATLAB commands using a different folder, include the `-sd` startup option or the `cd` command in the action.
6364
* In MATLAB R2019a and later, the **Run MATLAB Command** action uses the `-batch` option to start MATLAB. Preferences do not persist across different MATLAB sessions launched with the `-batch` option. To run code that requires the same preferences, use a single action.
6465
* When you use the **Run MATLAB Command** action, you execute third-party code that is licensed under separate terms.
6566

0 commit comments

Comments
 (0)