Simulink生成位dll问题
simulink吧
全部回复
仅看楼主
level 2
OITGBD 楼主
2019年12月05日 01点12分 1
level 2
OITGBD 楼主
An installed compiler was not detected. Certain simulation modes, as well as host-based coder builds require that a compiler be installed. Please install one of the supported compilers for this release as listed at:http://www.mathworks.com/support/compilers/R2017b.htmlMATLAB must be restarted after the compiler is installed.
2019年12月05日 01点12分 2
level 2
OITGBD 楼主
>> mex -setup
MEX 配置为使用 'MinGW64 Compiler (C)' 以进行 C 语言编译。
警告: MATLAB C 和 Fortran API 已更改,现可支持
包含 2^32-1 个以上元素的 MATLAB 变量。您需要
更新代码以利用新的 API。
您可以在以下网址找到更多的相关信息:
http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html
要选择不同的语言,请从以下选项中选择一种命令:
mex -setup C++
mex -setup FORTRAN
我已经配置好了mingw64了
2019年12月05日 01点12分 3
level 2
OITGBD 楼主
问题是我配置好如三楼所示的编译器,MATLAB 2017b,MinGW64。生成dll文件时还会出现二楼的错误
2019年12月05日 01点12分 5
编译器配置错了
2020年02月21日 05点02分
@775521173 能具体说一下吗
2020年03月23日 07点03分
@qq1020771427 去安转适合你版本的编译器
2020年04月23日 23点04分
1