Implementing the External
Module
The steps involved in creating and using an External element are as follows:
- Code the external function to be used by the External element in your model;
- Compile the external function into a DLL (multiple functions can be included in the same DLL);
- Create an External element within GoldSim and specify the DLL and the specific function within the DLL to be used;
- Specify the input and output arguments that are to be sent to and received from the function.
The details of the first two steps are discussed in Appendix C of the GoldSim User’s Guide. The remaining two steps are discussed in the
Learn more
Related topics…
- Defining a Lookup Table Using an External Function
- Defining the External Element
- Exporting the External Element Interface
- External (DLL) Elements
- Implementing the External Module
- Locking onto a DLL File
- Running the DLL in a Separate Process
- Saving External Element Outputs
- Using an External Element to Define Lookup Tables
- Using an External Element to Read and/or Output Time Series
- Viewing an External Element in the Browser
- When is the External Element Called?