External Element (Lahey Fortran)


External Element Example Using Lahey Fortran DLL


This example model shows how to use an External Element to call a DLL (compiled in Fortran) to perform calculations outside of GoldSim. The DLL, compiled using a Lahey Fortran compiler, contains three functions, Sum_ (calculates the sum of two input arguments), ProdSum_ (calculates the sum and the product of two input arguments) and Half_ (divides an input argument by 2).


Making Better Decisions In An Uncertain World