Specify the Location of custom IP cores in HDL Coder

1 回表示 (過去 30 日間)
John
John 2025 年 4 月 2 日
回答済み: Walter Roberson 2025 年 4 月 2 日
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?

回答 (1 件)

Walter Roberson
Walter Roberson 2025 年 4 月 2 日
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.

カテゴリ

Help Center および File ExchangeCode Generation についてさらに検索

タグ

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by