STM32 MAT/TARGET unknown data type RT_MODEL_Nucleo_test
- February 8, 2018
- 2 replies
- 1581 views
Dear,
I am firstime testing MAT/TARGET. I have created small model in simuling and generated source codes throught CubeMX. HW board Nucleo F303RE is used and System Workbench development SW. Source codes from Matlab are succesfully process in CubeMX and project for System Workbanch was create. But compilation of generated source codes consist several problems.
MATLAB 2017b, cubeMX 4.23 are used.
Simulink model name I uses is Nucleo_test.slx
In main.c file there is code line:
extern
const
;but the datatype RT_MODEL_Nucleo_test is unknown. I checked all generated files but this datatype doesnot exist in any of files. There is only similar in Nucleo_test.h
typedef
struct
;Other probles I have are conflict types for rtM.
simulink model, CubeMX ioc file, matlab generated sourcecodes and System workbanch project are attached in zipped file.
Does somebody have some idea what is wrong and what should be done?
Martin
#simulink #stm32-mat/target-matlab