Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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 visualización (últimos 30 días)
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'

Respuestas (1)

Sharan Paramasivam Murugesan
Sharan Paramasivam Murugesan el 23 de Ag. de 2017
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).

Comunidades de usuarios

Más respuestas en  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!

Translated by