Why do I get errors when building my model?

2 次查看(过去 30 天)
### Build procedure for model: 'CoolTempDiag' aborted due to an error.
Error encountered while executing custom build hooks after_tlc_hook(modelName): Problem using ctags: ctags: cannot open temporary file : No such file or directory
Caused by:
  • Problem using ctags: ctags: cannot open temporary file : No such file or directory

回答(1 个)

Sayan
Sayan 2023-8-31
Hi @Leo,
I understand that the error encountered in the model "CoolTempDiag" is due to the usage of the tool "ctags" which is inaccessible. The most probable steps to resolve the issue are mentioned below.
  • Run "ctags --version" in the terminal or command prompt to verify if "ctags" is installed in the system.
  • Check if the temporary file/directory exists and is accessible. The error message suggests that the temporary file/directory might be missing or inaccessible. Check the following MATLAB Answer to know how to change the temporary directory: https://in.mathworks.com/matlabcentral/answers/97720
  • Check if write permission is there for "ctags" to write temporary files in the directory, and if not adjust that accordingly.
  • If the issue still persists further investigation is required by reviewing the specific custom build hooks used in the "after_tlc_hook(modelName)" step. There might be some code or configuration that is causing the error.
Hope this helps in resolving the error.

类别

Help CenterFile Exchange 中查找有关 AUTOSAR Blockset 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by