简体   繁体   中英

Recompile Arduino Target for Simulink for Windows 64 bit

I want to use Arduino Target for 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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM