MATLAB Answers

How to solve the Command "matlabsha​red.toolch​ain.gnu_gc​c_arm.setu​p();" threw an error: The path 'bin' does not exist?

19 views (last 30 days)
Crystal Tinnes
Crystal Tinnes on 10 Sep 2017
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

  0 Comments

Sign in to comment.

Answers (2)


Sign in to answer this question.