Documentation

  • Documentation Home
  • Simscape Electrical
  • Applications
  • ADC/DAC
  • Amplifiers
  • Communications
  • Converters (High power)
  • Converters (Low power)
  • Device Characteristics Assessment
  • Electric Drives
  • Energy Storage
  • Filters
  • Logic
  • Oscillators
  • Power Grids
  • Renewable Energy
  • Robotics and Actuation Systems
  • Thermal Modeling and Management
  • Vehicle Systems
  • All
  • Examples
  • Functions
  • Blocks
  • Apps
  • More
    • All
    • Examples
    • Functions
    • Blocks
    • Apps

    Logic

    Perform and implement logical operations using Simscape Electrical logic components

    Featured Examples

    Clocked Reset-Dominant SR-Latch

    Clocked Reset-Dominant SR-Latch

    Model a Reset-dominant SR-Latch from Simscape™ Electrical™ logic components. Initial conditions are passed to the relevant AND gates via the initialization commands of the switches.

    Open Model
    Clocked Set-Dominant SR-Latch

    Clocked Set-Dominant SR-Latch

    Model a Set-dominant SR-Latch from Simscape™ Electrical™ logic components. Initial conditions are passed to the relevant AND gates via the initialization commands of the switches.

    Open Model
    Master-Slave J-K Flip-Flop

    Master-Slave J-K Flip-Flop

    Model a J-K flip-flop from Simscape™ Electrical™ logic components. With the two switches in their default positions, both inputs to the flip-flop are set high so its output state toggles each time the clock signal goes low. Initial conditions are passed to the relevant NAND gates via the initialization commands of the block mask.

    Open Model
    Modeling an Integrated Circuit

    Modeling an Integrated Circuit

    Two ways to create a model of an integrated circuit that can be used in conjunction with other Simscape™ Electrical™ blocks. The first approach is to build a behavioral model using Simscape Foundation Library PS blocks and/or Simulink® blocks. The second is to build an implementation model from basic Simscape Electrical blocks. To look under the masks and view the details, select the relevant block and type ctrl-U.

    Open Model
    Simscape Electrical Documentation
    • Examples
    • Blocks and Other Reference
    • Release Notes
    • PDF Documentation
    Support
    • MATLAB Answers
    • Installation Help
    • Bug Reports
    • Product Requirements
    • Software Downloads

    © 1994-2020 The MathWorks, Inc.

    • Terms of Use
    • Patents
    • Trademarks
    • Acknowledgments