Simulink Make Error: MemUnit_T is undefined
Show older comments
Hello everyone,
i'm currently experimenting with an STM32F401 Discovery Board. I successfully installed the embedded Target files and want to try out some of the shipped PIL Demonstration models. I can get to the point where C-Files are created and make is being executed. Then i get an error (from the Compiler itself) saying MemUnit_T is undefined .
Has anyone ever had this type of error? I can't find a single result on google.
OS: Windows 8.1
MATLAB Version: R2014a (i actually downloaded it just yesterday)
Toolchain: KEIL MDK 5
Accepted Answer
More Answers (1)
Pascal REYNAUD
on 22 Apr 2014
0 votes
Hi Marc,
MemUnit_T is a preprocessor symbol that must be defined in your project settings.
You just have to add MemUnit_T=uint8_T to preprocessor symbol definition.
Best regards
pascal
Categories
Find more on STMicroelectronics Discovery Boards in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!