Simulink中生成Autosar代码中如何使得Min Max 生成fminf 或fmaxf 函数 ( How to make Min Max generate fminf or fmaxf functions when generating Autosar code in Simulink)
8 views (last 30 days)
Show older comments
Xiaoning.Wang
on 7 Jan 2025
Answered: Xiaoning.Wang
on 21 Jun 2025
simulink 生成Autosar 代码中
如何设置Min 或 Max 在生成代码中使用fminf ,fmaxf 函数,
不想使得代码通过if else的方式来实现 Min 或Max
Generating Autosar code using Simulink
How to set Min or Max to use the fminf and fmaxf functions in generating code,
I don't want the code to implement Min or Max through if else
目前在非Autosar代码中可以实现Min 或Max,但是在Autosar代码中不能实现Min 或Max,
Currently, Min or Max can be implemented in non Autosar code, but it cannot be implemented in Autosar code,
0 Comments
Accepted Answer
More Answers (2)
See Also
Categories
Find more on AUTOSAR Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!