How to solve Simulink error: The path does not exist for Ti texas microcontroller
Show older comments

12 Comments
Walter Roberson
on 26 Oct 2020
Difficult to say without more information.
I see that you are using a model named bl2 but what is the exact name of the directory it is stored in?
In particular, if at any point in the directory path, there is a directory that has a space in the name, or a non-ASCII character, then the TI tools could fail. For example:
C:\Users\m gh\MATLAB\Project7
Move that to a different directory that has no space in the name such as
C:\Users\m_gh\MATLAB\Project7
m gh
on 26 Oct 2020
Walter Roberson
on 26 Oct 2020
You have a space in the directory name 'New folder' .
m gh
on 27 Oct 2020
Walter Roberson
on 27 Oct 2020
Is there a PostCodeGenCommand property set on the model?
Walter Roberson
on 31 Oct 2020
What is the content of the PostCodeGenCommand property set on the model?
Célian Voisard
on 3 Dec 2020
I have the same problem and as "m gh" I don't have any space " " in my path. Could you tell me how I can look the content of the PostCodeGenCommand property set on the model, so that I can show you ?
Eduardo Gutiérrez Córdova
on 22 Dec 2020
I'm have the same problem of 'm gh' and 'Célian Voisard'. I have no spaces, the configuration of CCS was properly verified, i´am in the selected path, and still have the error of the "unixisting path".
Yang Wang
on 24 Jun 2021
i have the same error

Yang Wang
on 24 Jun 2021
Moved: Walter Roberson
on 10 Jul 2024
promphiriya promboot
on 18 Sep 2023
Moved: Walter Roberson
on 10 Jul 2024
The path does not exist, error code: 0
Answers (3)
Junran Chen
on 4 Oct 2021
0 votes
Hi, I have faced the same problem as you. Here is how I solved it:
When you open the add-on explorer, It will ask you to download 3-party applications like CCS, controlSUITE, 2000ware. Just download them all and rerun your simulink model, I think it will fix your problem.
sudipto mondal
on 28 Feb 2022
0 votes
Hello Everyone,
I faced the same problem. But finally I found out the solution and solved mine.
Problem: The path ' ' does not exist
Reason: TI Control Suite, Code Composer Studio, C2000Ware has not been installed properly.
Solution: You must install above 3 Application in order to run the code on hardware properly. Firstly use External Add-On from Matlab and select c2000 package. Then select all the available boards and the window will automaticallty tell you which version of these 3 Application you have to install. Just install these 3 Application and you are done with the solution.
I am using R2020a. These are the versions for mine.

3 Comments
Andres Holguin
on 4 Oct 2023
I have suposedly installed all those programs and it does not work, even trying to build the model, not deploying to the board triggers the same error of the path does not exist, something weird is, in Matlab R2022a the same model worked just fine with the board, but in R2023a or R2023b doesn´t work, not even build.
Sergej Merkel
on 6 Oct 2023
i have the same error :(
继续 曹
on 24 Apr 2024
官网上说了最多适用于2022b版本
Lars
on 10 Jul 2024
0 votes
I tried pretty much all of the options above, but in the end, it was updating all add-ons from within the add-on manager that finally resolved the issue.
I have attached a screenshot of how to access the add-on manager (Manage Add-Ons)

I find this strange since in installed the relevant addons (MATLAB Coder, Simulink Coder, Embedded Coder, and C2000 blockset) today. But perhaps it helped correct some of the Simulink paths.
While I have solved the issue for my computer I would still love to understand the root course of the error, so If anyone has a better understanding of why this error occurs, please let me know.
Categories
Find more on Texas Instruments C2000 Processors 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!

