由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Computation版 - Problems about Mex-file to call Fortran
相关主题
help on interface for Matlab and FortranMPI Write?
a question about mpi-fortran[转载] 问一个fortran的问题
problem about Fortran 77 in unixFotran77程序的移植问题
请教一个程序调用问题(FORTRAN DLL),谢谢!fortran的random number 相关的函数lib是啥?
Fortran里面哪个函数显示系统时间?再问个Fortran得问题
Re: fortran subroutine and function发现一个有趣的事情,关于fortran IMSL library
偶也问一fortran问题请教fortran debuger
Fortran code optimization问个fortran和python编程的问题
相关话题的讨论汇总
话题: mex话题: fortran话题: integer话题: nlhs话题: nrhs
进入Computation版参与讨论
1 (共1页)
r**********e
发帖数: 28
1
Hi,
I am in troubles to figure out a correct mex-file to call a Fortran
code. I made a code is named as test_mex.f to test the process of
mex, but it won't work at all. Here is my code. Could someone please
take a look and help me out of this.
subroutine mexFunction(prhs, nrhs, plhs, nlhs)
integer prhs(*), plhs(*)
integer nrhs, nlhs ! pointer between Matlab and For
integer mxGetPr, mxCreateDoubleMatrix
integer x1_pr, x2_pr, y_pr
real*8 x1, x2, y
C------------------------------------------
1 (共1页)
进入Computation版参与讨论
相关主题
问个fortran和python编程的问题Fortran里面哪个函数显示系统时间?
Fortran里面子程序用END和END SUBROUTINE结尾有什么区别?Re: fortran subroutine and function
something strange in fortran90偶也问一fortran问题
Question about overloading in fortran90Fortran code optimization
help on interface for Matlab and FortranMPI Write?
a question about mpi-fortran[转载] 问一个fortran的问题
problem about Fortran 77 in unixFotran77程序的移植问题
请教一个程序调用问题(FORTRAN DLL),谢谢!fortran的random number 相关的函数lib是啥?
相关话题的讨论汇总
话题: mex话题: fortran话题: integer话题: nlhs话题: nrhs