Skip to content

Commit

Permalink
add utility
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Sep 5, 2024
1 parent 8f64328 commit 60ff089
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ModelingToolkitSampledData.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ export DiscreteIntegrator, DiscreteDerivative, Delay, Difference, ZeroOrderHold,
export DiscreteOnOffController
include("discrete_blocks.jl")


runtime(ssys::JuliaSimCompiler.ScheduledSystem) = ssys.discrete_info.callback.affect!.affect!.x

end

0 comments on commit 60ff089

Please sign in to comment.