Filter löschen
Filter löschen

Simulink embedded coder error

4 Ansichten (letzte 30 Tage)
原驰
原驰 am 28 Feb. 2023
Beantwortet: Pravarthana P am 12 Apr. 2023
This is the error:"The corresponding 'c2000hostsci_setup.tlc' file for the MATLAB S-function 'c2000hostsci_setup' in block 'untitled/SCI Setup' must be located in the current working directory, the MATLAB S-function directory 'D:\Project_file\Matlab_file\simulink', or the directory 'D:\Project_file\Matlab_file\simulink\tlc_c'"

Antworten (1)

Pravarthana P
Pravarthana P am 12 Apr. 2023
Hi Hara Chi,
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 may find in the following link:

Community Treasure Hunt

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

Start Hunting!

Translated by