This blog post describes the use of an external object class as described by the Modelica modelling language. In Modelica, a predefined partial class called an ExternalObject may be used for accessing external memory and performing various tasks using external functions written in C (specifically C89) and FORTRAN 77....
Modelica External Object Example: Detecting the Initial Rising Edge
