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

12 Comments

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
As I see this error, I choose a straightforward path; however, it doesn't solve!
You have a space in the directory name 'New folder' .
But there is still same error!? I think "space error" was for old version.
Is there a PostCodeGenCommand property set on the model?
Yes, the code composer has matched appropriately with my computer. I link that with the Matlab by configuration setting and select my device. However, there is unfortunately this error: The path does not exist!
What is the content of the PostCodeGenCommand property set on the model?
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 ?
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".
The path does not exist, error code: 0

Sign in to comment.

Answers (3)

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.
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

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.
官网上说了最多适用于2022b版本

Sign in to comment.

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.

Asked:

on 26 Oct 2020

Moved:

on 10 Jul 2024

Community Treasure Hunt

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

Start Hunting!