Using Simulink |
 |
Creating Signals of a Specific Data Type
You can introduce a signal of a specific data type into a model in any of the following ways:
- Load signal data of the desired type from the MATLAB workspace into your model via a root-level inport or a From Workspace block.
- Create a Constant block in your model and set its parameter to the desired type.
- Use a Data Type Conversion block to convert a signal to the desired data type.
| Specifying Block Parameter Data Types | | Displaying Port Data Types |  |