How to solve the Command "matlabshared.toolchain.gnu_gcc_arm.setup();" threw an error: The path 'bin' does not exist?
Afficher commentaires plus anciens
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
Réponses (2)
Maksim Chichikalov
le 5 Déc 2017
0 votes
You should add system variable 'MW_GNU_ARM_TOOLS_PATH' with path pointed to toolchain folder.
2 commentaires
yahya abdelkadouss sahri
le 4 Avr 2018
PEDRO HENRIQUE Ulhoa
le 24 Nov 2020
Have you solved this problem? same problem here
Heaven chen
le 19 Mar 2018
0 votes
Catégories
En savoir plus sur STMicroelectronics Discovery Boards dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!