Specify the Location of custom IP cores in HDL Coder

1 Ansicht (letzte 30 Tage)
John
John am 2 Apr. 2025
Beantwortet: Walter Roberson am 2 Apr. 2025
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?

Antworten (1)

Walter Roberson
Walter Roberson am 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.

Kategorien

Mehr zu Code Generation finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by