Print Friendly and PDF

GCC Compiled FORTRAN DLL

Jason -

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).

 

Download the Model File:

Tags:

  • DLL
  • FORTRAN
  • External
Have more questions? Submit a request

Comments