Specify the Location of custom IP cores in HDL Coder

1 view (last 30 days)
I was following along with the instructions here: https://www.mathworks.com/help/hdlcoder/ug/define-and-add-ip-respository-to-custom-reference-design.html for adding a custom IP repository. It mentions you can specify a directory outside of the MATLAB path by specifying an output parameter:
function [ipList, rootDir] = hdlcoder_video_iplist( )
How can you specify the directory if it is an output parameter? Shouldn't the directory be specified as an input?

Answers (1)

Walter Roberson
Walter Roberson on 2 Apr 2025
hdlcoder_<NAME>_iplist are configuration functions that you create yourself. If you want the output files to be stored in a different place then you can specify the output directory as the second output of the function.
The functions that you create will be called with no input parameters.

Categories

Find more on Code Generation in Help Center and File Exchange

Tags

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!