Documentation Home Page HYPERSIM Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Simulink | Advanced: Generating Code for a 64-Bit Operating System

Some data types in MATLAB Simulink may require different parameters if you are using a 64-bits target. If you are using a 32-bits target or a Windows PC, the default parameters are correct.


The typical error requiring this change is: “#error Code was generated for compiler with different sized ulong/long.”



To use the Help below, click the MATLAB version that corresponds to the one you have installed, and collapse/expand the accompanying text.




MATLAB R2012A – 2012B: not compatible


 For MATLAB R2013a version

In the Configuration Parameters window. Click on Hardware Implementation, select Device vendor : Intel and Device type: x86-64.

 For MATLAB R2013b to R2015a versions

In the Configuration Parameters window. Click on Hardware Implementation, select Device vendor : Intel and Device type: x86-64.

 For MATLAB R2015b version

In the Configuration Parameters window. Click on Hardware Implementation, select Device vendor : Intel and Device type: x86-64 (Linux 64).

 For MATLAB R2016a version

In the Configuration Parameters window. Click on Hardware Implementation, select Device vendor : Intel and Device type: x86-64 (Linux 64).

 For MATLAB R2016b to R2017a versions

In the Configuration Parameters window. Click on Hardware Implementation, select Device vendor : Intel and Device type: x86-64 (Linux 64).

 For MATLAB R2017b to R2020b versions

In the Configuration Parameters window. Click on Hardware Implementation, select Device vendor : Intel and Device type: x86-64 (Linux 64).




OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter