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.
精彩评论