Info
此问题已关闭。 请重新打开它进行编辑或回答。
I'm designing a motor controller involving an attached encoder. My OS is windows 10. I attempted to upload the code to an Arduino DUE which generated the error below. How can I resolve this issue? Also see attachment.
1 次查看(过去 30 天)
显示 更早的评论
The corresponding 'msfun_arduino_io_setup.tlc' file for the MATLAB S-function 'msfun_arduino_io_setup' in block 'MOTOR1/Arduino IO Setup' must be located in the current working directory, the MATLAB S-function directory 'C:\Users\carlo\OneDrive\Documents\MATLAB\Add-Ons\Collections\Legacy MATLAB and Simulink Support for Arduino\code\simulink', or the directory 'C:\Users\carlo\OneDrive\Documents\MATLAB\Add-Ons\Collections\Legacy MATLAB and Simulink Support for Arduino\code\simulink\tlc_c'
0 个评论
回答(1 个)
Sharan Paramasivam Murugesan
2017-8-23
Based on the type of S-function and how you want to generate code for that S-function, you might need a .tlc file. The following doc explains the various types of S-functions:
From the error you provided, it appears that the .tlc file is missing. If you have a .tlc file for the S-function, you should place it in one of those three folders mentioned in the error message (preferrably the current working directory).
0 个评论
此问题已关闭。
社区
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!