Clear Filters
Clear Filters

when I used simulink coder,Diagnostic Viewer told that it could not open source file "emmintrin.h"

34 views (last 30 days)
I built a model in simulink,I already modified the model setting,when I clicked "simulink coder",Diagnostic Viewer told that it could not open source file "emmintrin.h".How can I modify this error,let my model compiling successfully?
  3 Comments
Anjing Cheng
Anjing Cheng on 9 Feb 2022
Hi,when I use VS open the header file,I find this header file belongs to "Intel Corporation",but other header files like "math.h"belong to "Microsoft Corporation".When I chose the rti1104.tlc toolchain,the Diagnostic Viewer told me that it could not open source file "emmintrin.h".But when I chose the grt.tlc or ert.tlc,simulink coder could be compling successfully.Do you know more details,could you tell me? I just have been using this function in matlab for a few days,thanks very much.
Benjamin Thompson
Benjamin Thompson on 10 Feb 2022
You appear to be generating code for a Power PC target hardware platform. What is the name of the hardware platform, and is it supported by Simulink Coder or Embedded Coder. Also go to Model Settings, Code Generation, and make sure your choices for the System target file and the Toolchain are the best possible match to your target hardware.

Sign in to comment.

Answers (0)

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!