You create a new model by adding blocks from the Library Browser into the Simulink Editor. You then connect these blocks with signal lines to establish relationships between blocks. The Simulink Editor manages the connections with smart guides and smart signal routing to control the appearance of your model as you build it. You can add hierarchy to the model by encapsulating a group of blocks and signals as a subsystem within a single block. Model Composer provides a set of predefined blocks that you can combine to create a detailed model of your application.
In the Simulink start page, select Blank Model to open a new model.
The Simulink start page also lists the recent models that you have opened on the left-hand column. You can open one of these recent models if you prefer.
The blank model opens. Create the Model Composer model by adding blocks, specifying block parameters, and using signal lines to connect the blocks to each other.
To save the model select from the main menu. The Save As dialog box opens with a file browser. Navigate to the appropriate folder or location, and enter a name for the model in the File Name field. Click Save. The model is saved with the file extension .slx.
Model Composer also includes example models based on HLS library. You can access these by:
- Navigate to the Examples and Tutorials section of the Vitis Model Composer documentation available from the Help menu in the tool, or by
- Type the
xmcOpenExamplescommand from the MATLAB command prompt:>> xmcOpenExamples