%SOCEXPORTREFERENCEDESIGN Export a custom reference design from SoC
%Blockset model to use with HDL Workflow Advisor (requires HDL Coder)
%
% socExportReferenceDesign(modelName) exports a custom reference design
% from SoC Blockset model. Use the exported reference design in IP Core
% Generation Workflow in HDL Workflow Advisor.
% 
% socExportReferenceDesign(modelName, Name, Value) exports a custom
% reference design using the specified DUT name, folder, target platform,
% and reference design name.
%
% Input Arguments:
%   modelName - Name of the Simulink model
%               character vector | string scalar
%
%   Name-Value Pair Arguments: 
%     'DUTName'         - Name of the DUT subsystem in the FPGA model to be 
%                         excluded from the custom reference design. Specify 
%                         this parameter when there is more than one DUT 
%                         subsystems in the model.
%                         character vector | string scalar
%     'Folder'          - Folder to store exported files.
%                         character vector | string scalar
%     'TargetPlatform'  - Name of the target platform. In HDL Workflow 
%                         Advisor, this name appears in the Target platform
%                         dropdown list.
%                         character vector | string scalar
%     'ReferenceDesign' - Name of the reference design. In HDL Workflow
%                         Advisor, this name appears in the Reference design
%                         dropdown list.
%                         character vector | string scalar
%
% Examples:
%
%  % Export a custom reference design from soc_image_rotaion.slx model.
%  socExportReferenceDesign('soc_image_rotation')

 
% Copyright 2019-2022 The MathWorks, Inc.

