Hi FTN95 Users,
I am trying to use the Matlab enige from a Fortran program. According to the supplied example in the Matlab-Help I need to include <fintrf.h>. This file has the following content (only part of it):
#if defined(WITH_COMMENTS)
/*
* fintrf.h - MATLAB/FORTRAN interface header file. This file
* contains the declaration of the pointer type needed
* by the MATLAB/FORTRAN interface.
*
* Copyright 1984-2006 The MathWorks, Inc.
* All Rights Reserved.
*/
#endif
#if defined(__x86_64__) || defined(_M_AMD64) || defined(__amd64) || \ defined(__sparcv9) || defined(__ppc64__)
# define mwpointer integer*8
# define mwPointer integer*8
# define MWPOINTER INTEGER*8
#else
# define mwpointer integer*4
# define mwPointer integer*4
# define MWPOINTER INTEGER*4
#endif
...
FTN95 is (unfortunatley) not supported by Matlab and the # might not be allowed. What is the neccesary changes which I need to make to be able to complie this include?
Johannes