xmcLibraryPath - 2022.1 English

Vitis Model Composer User Guide (UG1483)

Document ID
Release Date
2022.1 English

xmcLibraryPath is a MATLAB utility that sets the root of the DSPLib from a MATLAB command window to a custom location in your local directory, using the MATLAB utility xmcLibraryPath.


xmcLibraryPath(‘<Arg1>’, ‘dsplib’, <Arg2>);

'<Arg1>' should be one of the options specified in the following list.

Arg1 Description
'set' Set the DSPLib root to the custom location.
'reset' Reset the DSPLib root to the default location.
'get' To get the current DSPLib root location.
'getDefault' To get the default DSPLib root location.

Example 1

xmcLibraryPath(‘set’, ‘dsplib’, '/workspace/Github_Repo/Vitis_Libraries/dsp');

This option sets the DSPlib to point to the code from GitHub repository.

Example 2

xmcLibraryPath(‘reset’, ‘dsplib’);

This option sets the DSPLib to the Model Composer installed directory, which is the default location.