Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit 3b17293

Browse files
authored
replace instance with version
1 parent 50c54c1 commit 3b17293

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CONFIGDOC.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Once you install the plugin, **Use MATLAB version** appears in the **Build Envir
2424

2525
Select **Use MATLAB version** to specify the full path to the MATLAB root folder that should be used for the build. The information in the **MATLAB root** box enables the plugin to prepend MATLAB to the system PATH environment variable of the build agent.
2626

27-
If the build agent already has your desired MATLAB on the path, then you are not required to select **Use MATLAB version**. The plugin uses the first MATLAB instance it encounters on the system path. The build fails if the operating system cannot find MATLAB on the path.
27+
If the build agent already has your desired MATLAB on the path, then you are not required to select **Use MATLAB version**. The plugin uses the first MATLAB version it encounters on the system path. The build fails if the operating system cannot find MATLAB on the path.
2828

2929
**Note:** The [`matlabroot`](https://www.mathworks.com/help/matlab/ref/matlabroot.html) function returns the full path to the MATLAB root folder, which depends on the platform, MATLAB version, and installation location. This table shows examples of the root folder path on different platforms.
3030

@@ -120,7 +120,7 @@ To configure the plugin for a Pipeline project:
120120
You also can define your Pipeline directly in the project configuration window. If you select **Pipeline script** from the **Definition** drop-down menu, you can author your Pipeline code in the **Script** box. When you define your Pipeline this way, your Pipeline must include an additional stage to check out MATLAB code from source control.
121121

122122
### Add MATLAB to System Path
123-
When Jenkins executes MATLAB-related steps in your Pipeline, it uses the first MATLAB instance on the system path. If the PATH environment variable of the build agent does not include any MATLAB instances, you must update the variable with the MATLAB root folder that should be used for the build.
123+
When Jenkins executes MATLAB-related steps in your Pipeline, it uses the first MATLAB version on the system path. If the PATH environment variable of the build agent does not include any MATLAB versions, you must update the variable with the MATLAB root folder that should be used for the build.
124124

125125
To update the system PATH environment variable using Declarative Pipeline syntax, use an `environment` block in your `Jenkinsfile`. For example, prepend MATLAB R2019a to the system PATH environment variable and use it to run your command.
126126

0 commit comments

Comments
 (0)