| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink HDL Coder |
| Contents | Index |
object = hdlnewcontrol(mfilename)
object = hdlnewcontrol(mfilename) constructs and returns a control generation control object (object) that is linked to a code generation control file.
The argument to hdlnewcontrol is the name of the control file itself. Use the mfilename function to pass in the file name string.
Tip The hdlnewcontrol function constructs an instance of the class hdlnewcontrol is a wrapper function provided to let you instantiate such objects. You should not directly call the constructor of the class. In your control files, use only the public methods of the class slhdlcoder.ConfigurationContainer. All public methods are described in this document. in your control files. All other methods of this class are for MathWorks internal development use only. |
![]() | hdlnewblackbox | hdlnewcontrolfile | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |