View Single Post
  #5   Spotlight this post!  
Unread 15-05-2014, 15:09
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: Simulink / Mathworks

Quote:
Originally Posted by Ether View Post
Does their code generator still use double-precision floats for booleans?


No. Simulink started to support data types many releases ago. Even before Simulink supported data types, you could get third party tools (such as TargetLink from dSPACE) that would support fixed point code generation.

In case anyone is interested in how prevalent Mathworks products are, many current control systems in production use auto-generated code from Simulink and Stateflow. Many engine and transmission controllers on cars that you drive use code generated from Simulink. The company that I currently work for does the vast majority of our control software in Simulink/Stateflow and the code is auto-generated. Likewise for the last company that I worked for.
__________________
-
An ounce of perception is worth a pound of obscure.

Last edited by Chris Hibner : 15-05-2014 at 15:13.