Dear All,
After the support of this forum now I am able to simulate cases with the following software configuration:
1. PSCAD v4.2.1 student version
2. Intel Visual Fortran Compiler v9.1.
3. MS Visual Studio .NET 2005 (MS Visual Studio v8)
4. Windows XP
But Unfortunately, When trying to integrate PSCAD to Matlab R2008a, I get the following error:
Linking tutti.exe
emtdc.lib(mlab_Int.obj) : error LNK2019: unresolved external symbol _MXCALLOC@8 referenced in function _SETWSVARIABLES
emtdc.lib(mlab_Int.obj) : error LNK2019: unresolved external symbol _MXCOPYREAL8TOPTR@12 referenced in function _SETWSVARIABLES
emtdc.lib(mlab_Int.obj) : error LNK2019: unresolved external symbol _ENGPUTFULL@28 referenced in function _SETWSVARIABLES
emtdc.lib(mlab_Int.obj) : error LNK2019: unresolved external symbol _MXFREE@4 referenced in function _SETWSVARIABLES
emtdc.lib(mlab_Int.obj) : error LNK2019: unresolved external symbol _ENGEVALSTRING@12 referenced in function _SETMLABCMD
emtdc.lib(mlab_Int.obj) : error LNK2019: unresolved external symbol _ENGOUTPUTBUFFER@12 referenced in function _SETMLABCMD
emtdc.lib(mlab_Int.obj) : error LNK2019: unresolved external symbol _ENGOPEN@8 referenced in function _SETMLABCMD
emtdc.lib(mlab_Int.obj) : error LNK2019: unresolved external symbol _ENGGETFULL@28 referenced in function _GETONEWSVAR
emtdc.lib(mlab_Int.obj) : error LNK2019: unresolved external symbol _MXCOPYPTRTOREAL8@12 referenced in function _GETONEWSVAR
tutti.exe : fatal error LNK1120: 9 unresolved externals
NMAKE : fatal error U1077: '"c:\program files\microsoft visual studio 8\vc\bin\link.exe"' : return code '0x460'
Stop.
My suggestions for the problem are:
1. The versions of software do not match with each other
2. The softwares have some error that can not be identified so easily.
Does anyone who faced with similar problem ? Any help, any suggestion would be so grateful for my work.
Best Regards,
Pp
Note: Please see the attachments containing pscad file, m-file and the error code in txt.


Reply With Quote

Bookmarks