Specify the Location of custom IP cores in HDL Coder

1 visualización (últimos 30 días)
John
John el 2 de Abr. de 2025
Respondida: Walter Roberson el 2 de Abr. de 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?

Respuestas (1)

Walter Roberson
Walter Roberson el 2 de Abr. de 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.

Categorías

Más información sobre Code Generation en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by