Level 2 S-Function in Simulink cannot be deployed to Arduino

I have a simulink model which contains a s-funtion inside, when i try to deploy it to arduino i get an error like:
The corresponding 's_function.tlc' file for the MATLAB S-function 's_function' in block 'untitled/Level-2 MATLAB S-Function' must be located in the current working directory, the MATLAB S-function directory 'C:\Users\...\model', or the directory 'C:\Users\...\model\tlc_c'
what should i do to fix this problem?

댓글 수: 3

The error message is pretty straightforward. Have you tried placing s_function.tlc in any of the suggested folders?
how can i create an tlc file? also it will be empty, right?
I don't know. I'm not a Simulink user. I also don't know if this is an existing model or something you created yourself.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB Support Package for Arduino Hardware에 대해 자세히 알아보기

질문:

2017년 8월 9일

댓글:

2017년 8월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by