Compiling old f90 file with matlab r2010a
显示 更早的评论
While trying to compile file an errors occours:
Creating library C:\USERS\BUBA\APPDATA\LOCAL\TEMP\MEX_AC~1\templib.x and object C:\USERS\BUBA\APPDATA\LOCAL\TEMP\MEX_AC~1\templib.exp
refpropm.obj : error LNK2019: unresolved external symbol MXISSTRING referenced in function MEXFUNCTION
refpropm.obj : error LNK2019: unresolved external symbol MXCREATESCALARDOUBLE referenced in function MEXFUNCTION
refpropm.mexw64 : fatal error LNK1120: 2 unresolved externals *
I know that it is because of using two old functions and I should replace them. The problem is I don't know how to do that.
回答(2 个)
Kaustubha Govind
2013-6-14
0 个投票
According to the Release Notes for R2006a, mxIsString is replaced by mxIsChar and mxCreateScalarDouble by mxCreateDoubleScalar.
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Compiler 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!