Re: Reading Float Data from a binary file into ada
- From: "Jeffrey R. Carter" <jrcarter@xxxxxxx>
- Date: Wed, 31 Jan 2007 18:30:45 GMT
frikk wrote:
We are using simulink and calling ada through s-functions. If we use
C, we'd have to get the data back to the matlab workspace, then pass
it into an ada module. It is prefered to keep all of the data inside
the ada modules without coming back to the workspace.
OK.
And yes - it appears that the data dumped is not actually a float but
fixed point. This is how VB apparently handles 'Float' data types.
> Actually - now that I look at it Visual Basic is using a 'Single'
type, not 'Float'. This may make more sense now.
I'm not sure what Single is. Are you sure C is using float? You should probably use an Ada fixed-point type with the same representation.
--
Jeff Carter
"Alms for an ex-leper!"
Monty Python's Life of Brian
75
.
- References:
- Reading Float Data from a binary file into ada
- From: frikk
- Re: Reading Float Data from a binary file into ada
- From: Jeffrey R. Carter
- Re: Reading Float Data from a binary file into ada
- From: frikk
- Re: Reading Float Data from a binary file into ada
- From: frikk
- Reading Float Data from a binary file into ada
- Prev by Date: Re: Reading Float Data from a binary file into ada
- Next by Date: Re: Binding or not binding
- Previous by thread: Re: Reading Float Data from a binary file into ada
- Next by thread: Re: Reading Float Data from a binary file into ada
- Index(es):