You can create a module either by creating a model, saving it, and then importing it into a module; or by creating and building a module directly within a model. Both procedures are described below.
On the Model layer, double-click the new module entity.
The Map or Model layer appears for the module.
Save your changes as you work by choosing Save from the File menu. This saves all changes you made to the top-level model and any modules in the model.
Note: By default, modules are saved in the model file. To save a module in a separate file, select the Save in separate file check box on the Module Properties panel. For more information, see Setting module properties.
Repeat this procedure to add as many modules as you need to the model.
You can add modules to the top-level model, or to any other modules within the model by navigating to the module into which you want to add another module.
Tip: To navigate from the module to another level in the hierarchy, click to navigate up one level, or click to go to the top level.
When you having finished creating a module, define the module inputs and outputs for the module, and then assign the module inputs. The model, as a whole, cannot run until all module inputs have been assigned (each module, though, can run in isolation). For more information, see Running modules.
Note: After you've created a module, you can also add a picture to appear on a module's icon, select to password-protect the module, and select whether you want to save the module in a separate file from the model. For more information, see Setting module properties.