VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to compile a fortran model for Veristand?

Solved!
Go to solution

How to compile a fortran model for Veristand?

What configurations do I need to make and what should I pay attention to?

0 Kudos
Message 1 of 3
(2,192 Views)
Solution
Accepted by topic author hm7

Hi,

I did some digging and there were not much documentation on this.

The general process would be:

  1. Write and compile the Fortran code
  2. Declare and use the Fortran functions within a C model, using the VS model framework
  3. Compile the C code
  4. Link the C and Fortran dlls

Here are some tutorials which could be helpful:

Build and Debug C Simulation Models 

Using C/C++ and Fortran

0 Kudos
Message 2 of 3
(2,171 Views)
thanks!
0 Kudos
Message 3 of 3
(2,148 Views)