Generate model Web view

Include the model Web view in the HDL Code Generation report to navigate between the code and model within the same window. With a model Web view, you can click a link in the generated code to highlight the corresponding block in the model. Using this capability, you can review, analyze, and debug the generated HDL code. You can share your model and generated code outside of the MATLAB® environment.

Settings

Default: Off

On

Include model Web view in the Code Generation report. To generate the report, after you enable this setting, click the Generate button. The code generation report contains a summary section and a code interface report along with the model web view.

Off

Do not include model Web view in the Code Generation report.

Dependencies

To include a Web view (Simulink Report Generator) of the model in the Code Generation report, you must have Simulink® Report Generator™ installed.

Command-Line Information

Parameter: HDLGenerateWebview
Type: character vector
Value: 'on' | 'off'
Default: 'off'

To set this property, use hdlset_param or makehdl. To view the property value, use hdlget_param.

For example, you can generate a model web view when generating HDL code for the symmetric_fir subsystem inside the sfir_fixed model using either of these methods.

  • Pass in the HDLGenerateWebview property as an argument to makehdl.

    makehdl('sfir_fixed/symmetric_fir','HDLGenerateWebview','on')

  • Enable the HDLGenerateWebview property using hdlset_param and then use makehdl.

    hdlset_param('sfir_fixed','HDLGenerateWebview','on')
    makehdl('sfir_fixed/symmetric_fir')

See Also