Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Mathematics
General TopicsResearchOperations ResearchStatisticsMathematical LogicNumerical AnalysisUndergraduate MathAlgebra HelpRecreational Math
Math Software
MapleMathematicaMATLABScilabSASSPSS

Math Forum / Math Software / MATLAB / July 2008



Tip: Looking for answers? Try searching our database.

Handles structure

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Erik - 02 Jul 2008 23:06 GMT
Hello,

This is just a general question regarding how fields are
stored in the handles structure for a GUI. Why are all of
the fields represented by doubles? Do the values have any
specific meaning other than for some sort on indexing?

Thanks,
Erik
Gautam Vallabha - 15 Jul 2008 15:45 GMT
> This is just a general question regarding how fields are
> stored in the handles structure for a GUI. Why are all of
> the fields represented by doubles? Do the values have any
> specific meaning other than for some sort on indexing?

There is no specific meaning (or rather, any such meaning is
implementation-dependent and should not be relied upon).

The designation of the handle as a double (rather than uint64 or int64)
is probably historical. Prior to MATLAB 7.0 (R14), all numbers in MATLAB
were doubles.

Gautam
Steven Lord - 15 Jul 2008 16:47 GMT
>> This is just a general question regarding how fields are
>> stored in the handles structure for a GUI. Why are all of
[quoted text clipped - 7 lines]
> is probably historical. Prior to MATLAB 7.0 (R14), all numbers in MATLAB
> were doubles.

Actually, I believe most of the integer data types (the *int8, *int16, and
*int32 types) were introduced in MATLAB 5.0 (R8), along with the first class
system, structs, and cells.  I don't remember when the single data type was
introduced, but it wouldn't surprise me if it were either in version 5.0 or
in one of the earliest versions (perhaps even Cleve's original version.)

Signature

Steve Lord
slord@mathworks.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.