====== Model input ====== [[Model_input|Model input]] is a block where [[Sub-system|sub-systems]] inputs are defined. A [[Sub-system|sub-systems]] can contain only one [[Model_input|model input]] block. An input is, simply put, a block that has been marked to (potentially) receive it’s data externally. Any block that can be used in an expression can be marked to be an input, for example a [[Parameter|parameter]], a [[Transfer|transfer]], an [[Expression|expression]] or a [[General_variable|general variable]]. Two [[Sub-system|sub-systems]] can be connected with a [[Connector|connector]] if inputs and outputs have been defined for the [[Sub-system|sub-systems]]. ===== Creating a model input ===== From the [[Projects_window|Projects window]] * Right click the sub-system for which to define model inputs and select **Model input** from the pop-up menu. From the [[Matrix_window|Matrix window]] * Right click an empty diagonal cell of a sub-system in the matrix and select **Model input** from the the pop-up menu. ===== Editing a model input ===== The block editor is shown by right-clicking the block in a window and selecting **Edit**. In the [[Blocks_window|Blocks window]], you can also show the block editor by selecting the block and clicking the {{:Edit24.png|Edit}} button, or by double-clicking the right-most “validation” column of the block. The block editor has three tabs: ==== Properties ==== This page lets you edit basic properties such as name, sub-system and base unit. See [[Editing_properties|editing properties]] for more information. ==== Appearance ==== This page lets you edit the visual properties of the block in the [[Matrix_window|Matrix window]]. See [[Editing_appearance|Editing appearance]] for more information. ==== Values ==== A list of all available blocks is presented. Select blocks from the available list by using the arrow buttons. ===== See also ===== * [[Block|Blocks]] * [[Sub-system|Sub-systems]] * [[Exporting_and_importing_data|Exporting and importing data]]