STM32
直播中

tr12345

8年用户 946经验值
擅长:制造/封装
私信 关注
[问答]

为什么用Simulink生成stm32代码会发生错误呢

为什么用Simulink生成STM32代码会发生错误呢?怎样去解决呢?

回帖(1)

刘玉英

2021-11-18 10:05:53
  matlab版本:2014a
  STM32CubeMX版本:4.18
  STM32MatTarget_4.4.0
  模型:控制两个IO端口的输出,stm32f103rct
  
  QQ浏览器截屏未命名.png (34.36 KB, 下载次数: 42)
  模型文件
  生成代码时提示错误:
  
  QQ浏览器截屏未命名.png (59.28 KB, 下载次数: 60)
  错误提示
  ### Real-Time Workshop build procedure for method: ‘entry
  ### modelName: ’led
  ### gcs: ‘led
  ### bdroot: ’led
  ### Starting Real-Time Workshop build procedure for model: led
  ### Windows version:win64
  ### Model connectivity is: normal
  ### Real-Time Workshop build procedure for method: ‘error
  ### modelName: ’led
  ### gcs: ‘led
  ### bdroot: ’led
  ### Real-Time Workshop build procedure for model: ‘led’ aborted due to an error.
  ========================
  The call to stm32_make_rtw_hook, during the entry hook generated the following error:
  Property ‘DefaultParameterBehavior’ does not exist
  The build process will terminate as a result.
  《img 》
  Property ‘DefaultParameterBehavior’ does not exist
  Component: Simulink | Category: Model error
举报

更多回帖

发帖
×
20
完善资料,
赚取积分