MATLAB: How to export Simulink model to win32 standalone FMU

fmusimulinksimulink compiler

I'm using the Simulink Compiler to export Simulink Model to fmu, following this instruction:
My SW setup is as followed:
  • Matlab R2020a
  • Visual Studio 2019 Community
  • Visual Studio 2017 Community
  • MinGW-w64 (installed through Add-on Explorer)
The fmu I got only contains win64 binaries. How can I generate the win32 binaries?

Best Answer

Matlab R2020b Simulink Compiler supports this feature now.