Clear Filters
Clear Filters

Continous Integration via matlab toolbox file.

1 view (last 30 days)
awirsing
awirsing on 15 Sep 2021
Edited: awirsing on 15 Sep 2021
I want to setup Auzre DevOps for a continous integration process where a matlab toolbox is being packaged by an agent. The whole matlab code is therefore hosted in a git repository on an Azure DevOps server. The repository also includes a prj file with the configuration of the matlab toolbox being packaged.
The ci process is as follows:
  1. The agent checks out the latest version of the matlab code from the repository.
  2. A matlab script is executed with the following command: matlab.addons.toolbox.packageToolbox('xyz.prj')
While this works pretty well on my desktop computer, the matlab instance on the agent throws the following error:
Unable to package the project 'C:\agent\_work\14\s\xyz.prj'. Toolbox root ${PROJECT_ROOT} does not exist.
Can anyone point me to a solution for this problem.

Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!