Mex file error - incorrect number of input arguments, even though argument number is correct

조회 수: 1(최근 30일)
Hi All
I have recently updated to Matlab R2016b and have all of a sudden run into a problem with a Fortran mex file. When I call the mex file it sometimes complains that I am not sending in the correct number of arguments, even though I am. I am a bit puzzled by this. I am running the mex file with a feval command, something like >> feval('mexFcnName',argument1,argument2). I have never had a problem before. Any ideas why this would happen now all of a sudden? The compilers are all the same, just the Matlab version has changed.
  댓글 수: 1
Jan 2017년 3월 24일
Please post the relevant part of the code. It is harder to guess when you are blind.

댓글을 달려면 로그인하십시오.



Find more on Fortran with MATLAB in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by