Main Content

hdlcleanup

Clear all HDL code generation states

    Description

    example

    hdlcleanup clears all HDL code generation states preserved in the MATLAB session.

    Examples

    collapse all

    The following command generates HDL code for the design under test (DUT) and the clears all the code generation states preserved in the MATLAB session.

    load_system('sfir_fixed');
    open_system('sfir_fixed/symmetric_fir');
    hdlset_param('sfir_fixed','ResourceReport','on');
    makehdl('sfir_fixed/symmetric_fir');
    hdlcleanup;

    Version History

    Introduced in R2021a