Level 2 S-Function in Simulink cannot be deployed to Arduino
Show older comments
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 Comments
José-Luis
on 9 Aug 2017
The error message is pretty straightforward. Have you tried placing s_function.tlc in any of the suggested folders?
Sinan Ibrahim Bayraktar
on 9 Aug 2017
José-Luis
on 9 Aug 2017
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.
Answers (0)
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!