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
Kaustubha Govind 2013년 6월 14일

0 개 추천

According to the Release Notes for R2006a, mxIsString is replaced by mxIsChar and mxCreateScalarDouble by mxCreateDoubleScalar.
Pawel
Pawel 2013년 6월 14일

0 개 추천

Thanks a lot for fast respond. Is it a good way to use "replace function" in document editor and just replace: - mxIsString by mxIsChar - mxreateScalarDouble by mxCreateDoubleScalar?
It may be silly question but I don't understand that program code and I need using it after compilation as a part of my program...

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

제품

질문:

2013년 6월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by