Main Content

Generate model Web view

Web view to navigate between code and model

Model Configuration Pane: Report


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.


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


Off (Default) | 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.


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


To set this parameter, use hdlset_param or makehdl. To view the parameter 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 parameter as an argument to makehdl.


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


Recommended Settings

No recommendations.

Programmatic Use

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

Version History

Introduced in R2017a