开发者

Recompile Arduino Target for Simulink for Windows 64 bit

开发者 https://www.devze.com 2023-01-30 00:27 出处:网络
I want to use Arduino Target for Simulink. It is made only for 32bit versions of Win开发者_高级运维dows, but I read that you can recompile it and use it in 64-bit Windows.

I want to use Arduino Target for Simulink. It is made only for 32bit versions of Win开发者_高级运维dows, but I read that you can recompile it and use it in 64-bit Windows.

I have tried, but I have not succeeded. I think that the files you need to create are the ones ending on .mexw32. What do you use to recompile these?


From 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

Once you have a compiler installed, you can run "mex -setup" to point to the appropriate compiler.

Finally, you can run "mex filename.c" to compile all the functions in the blocks directory.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号