How to solve error: xil_interface_lib.h

1 次查看(过去 30 天)
Hello all, I have recently bought S32K144 evaluation board and while I am trying to build model in Simulink, during the compilation I am facing the problem( I have attached the image). The thing is that I tried to look into the internet and find the solution for this but I could not find anything valuable. Could anyone advise me how to solve this problem?
Thank you
  1 个评论
Carlos Cespedes Moya
编辑:Carlos Cespedes Moya 2020-9-11
I am also getting this error when trying to compile .mex file.
I am using Matab2020, although the .c src code I got for compilation was written using Matlab2014.
Error using mex
D:\Matlab\simics-pil\simicspil-src\pil_main-from-matlab-2014a.c:10:31: fatal error: xil_interface_lib.h: No such file or directory
#include "xil_interface_lib.h"
^
compilation terminated.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by