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, and you will 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 Save As dialog box is opened, 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.from the main menu. The
xmcOpenExample command from the MATLAB command
This command opens a window to specify the target directory for downloading the examples from the GitHub repository.