Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91195244
Empty.m
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Nov 8, 21:02
Size
903 B
Mime Type
text/html
Expires
Sun, Nov 10, 21:02 (2 d)
Engine
blob
Format
Raw Data
Handle
22207241
Attached To
rINSTCONTROL Instrument Control
Empty.m
View Options
function
obj
=
Empty
(
varargin
)
%
uiextras
.
Empty
Create
an
empty
space
%
%
obj
=
uiextras
.
Empty
()
creates
an
empty
space
that
can
be
used
to
add
%
gaps
between
elements
in
layouts
.
%
%
obj
=
uiextras
.
Empty
(
param
,
value
,...)
also
sets
one
or
more
property
%
values
.
%
%
See
the
<
a
href
=
"matlab:doc uiextras.Empty"
>
documentation
</
a
>
for
more
detail
and
the
list
of
properties
.
%
%
Examples:
%
>>
f
=
figure
();
%
>>
box
=
uiextras
.
HBox
(
'
Parent
'
,
f
);
%
>>
uicontrol
(
'
Parent
'
,
box
,
'
Background
'
,
'r'
)
%
>>
uiextras
.
Empty
(
'
Parent
'
,
box
)
%
>>
uicontrol
(
'
Parent
'
,
box
,
'
Background
'
,
'b'
)
%
Copyright
2009
-
2014
The
MathWorks
,
Inc
.
%
$Revision:
1115
$
$Date:
2015
-
05
-
28
15
:
16
:
22
+
0100
(
Thu
,
28
May
2015
)
$
%
Call
uix
construction
function
obj
=
uix
.
Empty
(
varargin
{
:
}
);
%
Auto
-
parent
if
~
ismember
(
'
Parent
'
,
varargin
(
1
:
2
:
end
)
)
obj
.
Parent
=
gcf
();
end
end
%
uiextras
.
Empty
Event Timeline
Log In to Comment