Run Computations on Events

You can run computations on events using event actions by:

  • Writing event actions using MATLAB® code that perform computations.

  • Using the Simulink Function block to call a function that performs computations.

With either of these methods, you can use attribute-defined data to perform the computations.

Related Topics