查看: 79|回复: 2|关注: 0

[未答复] Simulink模型 Building 时报错 Error: Errors occurred - aborting请问如何解决?

[复制链接]

新手

10 麦片

财富积分


050


1

主题

4

帖子

0

最佳答案
发表于 6 天前 | 显示全部楼层 |阅读模式
本帖最后由 人生浪费指南 于 2020-3-26 11:58 编辑

Simulink模型 Building 时报错 Error: Errors occurred - aborting 请问如何解决?

版本:MATLAB2019a
The "ARM CMSIS SIN COS" code replacement library includes the standard math library "C89/C90 (ANSI)". To avoid this warning, you can specify the code replacement library as "None" or remove the base CRL specification if applicable, then select the desired math library via the standard math library (TargetLangStandard) parameter. [2 similar]

Component:Simulink | Category:Model warning

### Real-Time Workshop build procedure for method: 'entry'### Starting Real-Time Workshop build procedure for model: 'FlowLED'### STM32CubeMx version in usage is: 5.600000e+00### Windows version: 'win64'*** stm32_make_rtw_hook(): 'RTWVerbose' is: 'on'*** stm32_make_rtw_hook(): 'SimulationMode' is: 'normal'### Model connectivity is: 'normal'### Create verification block: None*** stm32_make_rtw_hook(): Found 'D:\workspace\Simulink\FlowLED\FlowLED\FlowLED.ioc' from Simulink model### Generating code and artifacts to 'Model specific' folder structure


                               
登录/注册后可看大图
Code Generation

                               
登录/注册后可看大图
1
Elapsed: 5 sec

### Generating code into build folder: D:\workspace\MATLAB\FlowLED_stm32----------->SFUNC MODE: SS_SIMMODE_RTWGEN----------->Model reference Simulink(R) Coder(TM) target is building----------->SFUNC MODE: SS_SIMMODE_RTWGEN----------->Model reference Simulink(R) Coder(TM) target is building----------->SFUNC MODE: SS_SIMMODE_RTWGEN----------->Model reference Simulink(R) Coder(TM) target is building----------->SFUNC MODE: SS_SIMMODE_RTWGEN----------->Model reference Simulink(R) Coder(TM) target is building----------->STM32 MCU:stm32f1### Real-Time Workshop build procedure for method: 'before_tlc'*** stm32_make_rtw_hook(): 'FlowLED' has ModelReferenceTargetType set to: 'NONE'*** stm32_make_rtw_hook(): updateTlcCustomizationOfMain(FlowLED,1,normal)*** stm32_make_rtw_hook(): updateTlcCustomizationOfMain(): -> 'RTW'### Invoking Target Language Compiler on FlowLED.rtw### Using System Target File: D:\Tools\Polyspace\STM32-MAT\STM32\rtw\stm32.tlc### Loading TLC function libraries### Initial pass through model to cache user defined code.### Caching model source codeWarning:  SYS Timebase Source value is 'SysTick'Warning:  Fundamental sample time is set to: '0.005' s by the Simulink modelError:  Move to TIMER as Timebase Source for SYS in the STM32CubeMX project.Main program:==> [00] D:\workspace\MATLAB\FlowLED_stm32\tlc\customRoutineProcess.tlc:<NONE>(71)    [01] D:\Tools\Polyspace\R2019a\rtw\c\tlc\mw\formatwide.tlc:<NONE>(508)Warning:  Customizing the main entry point is requested as 'RTW' for 'FlowLED'Warning:  Create main.c for Real Time Mode with 'FlowLED'Warning:  Number of sample times is set to: '2'.### Writing header file FlowLED_types.h.### Writing header file FlowLED.h### Writing source file FlowLED.c### Writing header file FlowLED_External_Functions.h### Writing header file STM32_Config.h### Writing header file rtwtypes.h### Writing header file FlowLED_private.h.### Writing source file FlowLED_data.c### Writing source file main.c### TLC code generation complete.


### Real-Time Workshop build procedure for method: 'error'### Real-Time Workshop build procedure for model: 'FlowLED' aborted due to an error.


Error: Errors occurred - aborting
Component:Simulink | Category:Block diagram error






报错.jpg
报错2.jpg

新手

10 麦片

财富积分


050


1

主题

4

帖子

0

最佳答案
 楼主| 发表于 6 天前 | 显示全部楼层
模型仿真时倒是没有出现问题

新手

10 麦片

财富积分


050


1

主题

4

帖子

0

最佳答案
 楼主| 发表于 6 天前 | 显示全部楼层
点building后过一小会儿 弹出cubeMX后就报错了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

快速回复 返回顶部 返回列表