How to solve the Command "matlabshared.toolchain.gnu_gcc_arm.setup();" threw an error: The path 'bin' does not exist?
古いコメントを表示
I'm trying to create a PIL block of a simple subsystem "->Gain->Gain->" with a GNU Tools for ARM Embedded Processors toolchain selected. It always fall into this error. How do I solve it?
Target Hardware: STM32F407VG
MATLAB 2017a
Subsystem Build 4 1 Clear
08:28 AM Elapsed: 55 sec
### Starting build procedure for model: Subsystem
Code Generation 1
Elapsed: 43 sec
### Generating code into build folder: C:\Users\Crystal\Documents\MATLAB\Sketch Converter\Subsystem_ert_rtw
### Invoking Target Language Compiler on Subsystem.rtw
### Using System Target File: C:\Program Files\MATLAB\R2017a\rtw\c\ert\ert.tlc
### Loading TLC function libraries
......
### Initial pass through model to cache user defined code
.
### Caching model source code
.........................
### Writing header file Subsystem.h
### Writing header file Subsystem_types.h
### Writing header file rtwtypes.h
### Writing header file rtGetInf.h
.
### Writing source file rtGetInf.c
### Writing header file rtGetNaN.h
### Writing source file rtGetNaN.c
### Writing header file rt_nonfinite.h
### Writing source file rt_nonfinite.c
### Writing source file Subsystem.c
.
### Writing header file Subsystem_private.h
### Writing source file Subsystem_data.c
### Writing header file rtmodel.h
### Writing source file ert_main.c
### TLC code generation complete.
### Evaluating PostCodeGenCommand specified in the model
### Using toolchain: GNU Tools for ARM Embedded Processors v5.2 | gmake (64-bit Windows)
### Creating 'C:\Users\Crystal\Documents\MATLAB\Sketch Converter\Subsystem_ert_rtw\Subsystem.mk' ...
### Building 'Subsystem': "C:\PROGRA~1\MATLAB\R2017a\bin\win64\gmake" -f Subsystem.mk buildobj
### Build procedure for model: 'Subsystem' aborted due to an error.
Error Report: Command "matlabshared.toolchain.gnu_gcc_arm.setup();" threw an error: The path 'bin' does not exist.
Caused by:
Validation error(s):
Command "matlabshared.toolchain.gnu_gcc_arm.setup();" threw an error: The path 'bin' does not exist.
Component:Simulink | Category:Build error
??? Subsystem build failed
回答 (2 件)
Maksim Chichikalov
2017 年 12 月 5 日
0 投票
You should add system variable 'MW_GNU_ARM_TOOLS_PATH' with path pointed to toolchain folder.
2 件のコメント
yahya abdelkadouss sahri
2018 年 4 月 4 日
PEDRO HENRIQUE Ulhoa
2020 年 11 月 24 日
Have you solved this problem? same problem here
Heaven chen
2018 年 3 月 19 日
0 投票
カテゴリ
ヘルプ センター および File Exchange で STMicroelectronics Discovery Boards についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!