[英]Recompile Arduino Target for Simulink for Windows 64 bit
I want to use Arduino Target for Simulink. 我想将Arduino Target用于Simulink。 It is made only for 32bit versions of Windows, but I read that you can recompile it and use it in 64-bit Windows.
它仅适用于32位版本的Windows,但我读到您可以重新编译它并在64位Windows中使用它。
I have tried, but I have not succeeded. 我已经尝试过,但是没有成功。 I think that the files you need to create are the ones ending on
.mexw32
. 我认为您需要创建的文件是以
.mexw32
结尾的.mexw32
。 What do you use to recompile these? 您用什么来重新编译这些?
From http://www.mathworks.com/matlabcentral/fileexchange/24675-arduino-target : 从http://www.mathworks.com/matlabcentral/fileexchange/24675-arduino-target :
To compile the C files for win64 (or another platform), first make sure you have a supported compiler: http://www.mathworks.com/support/compilers/R2010b/win64.html
要为win64(或其他平台)编译C文件,请首先确保您具有受支持的编译器: http : //www.mathworks.com/support/compilers/R2010b/win64.html
Once you have a compiler installed, you can run "mex -setup" to point to the appropriate compiler.
一旦安装了编译器,就可以运行“ mex -setup”以指向适当的编译器。
Finally, you can run "mex filename.c" to compile all the functions in the blocks directory.
最后,您可以运行“ mex filename.c”来编译blocks目录中的所有功能。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.