Generate model Web view
Web view to navigate between code and model
Model Configuration Pane: Report
Description
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.
Dependencies
To include a Web view (Simulink Report Generator) of the model in the Code Generation report, you must have Simulink® Report Generator™ installed.
Settings
Off (Default) | OnOnInclude 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.
OffDo not include model Web view in the Code Generation report.
Tips
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
HDLGenerateWebviewparameter as an argument tomakehdl.makehdl('sfir_fixed/symmetric_fir','HDLGenerateWebview','on')
Enable the
HDLGenerateWebviewparameter usinghdlset_paramand then usemakehdl.hdlset_param('sfir_fixed','HDLGenerateWebview','on') makehdl('sfir_fixed/symmetric_fir')
Recommended Settings
No recommendations.
Programmatic Use
Parameter: HDLGenerateWebview |
| Type: Character vector |
Value: 'on' | 'off' |
Default: 'off' |
Version History
Introduced in R2017a