'c2000hostsci_rx.tlc' file for the MATLAB S-function 'c2000hostsci_rx' in block host SCI RCV doesn't exist

3 views (last 30 days)
Hello everybody, i tried to build serial communication using C2000 launchpad to matlab like the figure below.
</matlabcentral/answers/uploaded_files/70197/SCI.png> But, i got an error that says " The corresponding 'c2000hostsci_rx.tlc' file for the MATLAB S-function 'c2000hostsci_rx' in block 'SCI/SCI Receive1' must be located in the current working directory.' So, i tried to search the 'c2000host_rx.tlc' file in my computer, but there is no such file. Anyone know how to fix this problem? Thank you in advance.

Answers (1)

Antonin
Antonin on 1 Mar 2017
Hi Reina,
You are trying to use serial HOST blocks. These are meant to work only on your host computer in simulation mode transmitting and receiving data to and from the COM port of your PC. To generate code and run it on your launchpad, use the SCI blocks that you can find in the Embedded Coder Support Package for Texas Instruments C2000 Processors
I hope it helps,
Antonin.

Community Treasure Hunt

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

Start Hunting!