Calling Matlab from Fortran

IanH
Total Points:
2,270
Status Points:
1,770
Brown Belt
June 28, 2009 9:42 PM PDT
Rate
 
#1
You've got two options:

1. Use the Intel Fortran Module Wizard to generate the appropriate interfaces to the Matlab Automation server and then use those interfaces along with the supporting routines provided by the IFCOM and IFAUTO modules. Stupid example attached.

2. You could use the routines exposed by the Matlab engine. This is what the mathworks recommends, but I hate the old F77 style call interfaces, use of the pre-processor, requirement for an external build script, etc, etc.   Supposedly this is just a wrapper around the COM stuff anyway.

You could wrap either method with your own set of interface routines to make your life easier.

Matlab's own documentation includes lots of supporting material.

IanH



 Attachments 

Intel Software Network Forums Statistics

8473 users have contributed to 31605 threads and 100654 posts to date.
In the past 24 hours, we have 30 new thread(s) 110 new posts(s), and 160 new user(s).

In the past 3 days, the most popular thread for everyone has been gemm(A,A,A) like possible? The most posts were made to gemm(A,A,A) like possible? The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member Kevin Johnson