How to solve error: xil_interface_lib.h

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 Comment

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.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Asked:

on 13 Nov 2017

Edited:

on 11 Sep 2020

Community Treasure Hunt

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

Start Hunting!