About 2,570,000 results
Open links in new tab
  1. Data Type Conversion - MathWorks

    The Data Type Conversion block converts an input signal of any Simulink ® data type to the data type that you specify. Note To control the output data type by specifying block parameters, or …

  2. Why do my boolean signals appear as a double data type in Simulink

    Aug 20, 2010 · Some of the boolean signals in my model are always treated as doubles, which may cause issues if downstream blocks expect the input to be boolean. Even if I place Data …

  3. boolean to double signals - MATLAB Answers - MATLAB

    Mar 14, 2012 · Use the DataType Conversion block to convert the boolean signal to a double signal as Krishnendu suggested.

  4. matlab - How to make the output type of the comparison block 'double

    Jul 11, 2016 · One way to accomplish this would be to use a Switch block (under Commonly Used Blocks and Signal Routing) instead of the Relational Operator block. There is also a Data Type …

  5. Data Type Conversion Inherited - MathWorks

    This example shows three different methods of converting data types in your model using the Data Type Conversion and Data Type Conversion Inherited blocks. In this model, a Sine Wave …

  6. Data Type Conversion (Simulink Reference) - Northwestern …

    Convert input signal to specified data type. Library. Signal Attributes. Description. The Data Type Conversion block converts an input signal to the data type specified by the block's Data type …

  7. Simulink Boolean to Double: A Guide to Data Conversion

    Dec 26, 2023 · Q: How do I convert a Boolean to a double in Simulink? A: To convert a Boolean to a double in Simulink, you can use the following steps: 1. Create a new Simulink model. 2. …

  8. Implement logic signals as Boolean data (vs. double) - MathWorks

    The Implement logic signals as Boolean data (vs. double) parameter specifies whether the data type for logical signals is Boolean or double. Using Boolean values instead of double values …

  9. convertDataType - MathWorks

    convertDataType(sigObj,dataType) converts the data in the Simulink.sdi.Signal object sigObj to the specified data type dataType. The convertDataType function supports converting to all …

  10. Data Type Conversion - MathWorks

    This example shows how to create a data type conversion by using a Data Type Conversion block. Alternatively, you can you can perform a data type conversion or inside a Stateflow® …

  11. Some results have been removed
Refresh