필터 지우기
필터 지우기

Visual Studio 2017 for SLRT set up error

조회 수: 1 (최근 30일)
heemin shin
heemin shin 2020년 2월 20일
답변: Chidvi Modala 2020년 4월 14일
I’m following the link : https://www.mathworks.com/matlabcentral/answers/348269-how-do-i-set-up-microsoft-visual-studio-2017-for-slrtto set up my visual studio 2017 for slrt 2019b. but when I do step 6) ‘mex -v timestwo.c‘, I got an error.
  • LINK : error LNK2001: unresolved external symbol mexFunction
  • timestwo.lib : fatal error LNK1120: 1 unresolved externals
I can build ‘vdp’, ‘xpcosc’ but can’t find Speedgoat. I think it means I can’t build my own model on my target.
what should I do?

답변 (1개)

Chidvi Modala
Chidvi Modala 2020년 4월 14일
To create and use a MEX file, you will need to:
  • Determine and install a supported compiler for your MATLAB release. You can find supported compilers for different platform and previous releases here
  • MATLAB provides a way to identify and change the default compiler that will be used to create MEX files. To know more on how to do this, click here
  • Furthermore, one can get the configuration details of installed compilers that can be used to build MEX files. To learn more about this, click here

카테고리

Help CenterFile Exchange에서 Install Products에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by