Top 10% contributor
You should be able to use something like this:
ruler = imline(gca);
% Get original positio...
Answered 3 years ago
I'm using a list box that displays the names of the shapes I am storing in a shapefile. I'm using the sort function to list the...
Asked 3 years ago
Might try this:
x = uicontrol('style','edit','units','normalized',...
'position',[.18 .5 .2 .2],'callback...
Try replacing it with this: fprintf('%g',[xopt Fopt]); It seems to give the same result as using the disp command, though.
3 years ago
Try this: s = shaperead('concord_shapes.shp','UseGeoCoords',true)
Answered 2 years ago
For my senior project we need to use two encoders to track the vertical and horizontal position of a device. I'm a mechanical en...
Asked 2 years ago
% Intial value of a
a = 2;
setappdata(0,'a',a+1) % Put this part within the callba...
If you design the GUI programmatically, this should be possible, but with GUIDE I don't think so.
If you set and get the app data from the root instead of from an individual GUI, all the others GUI figures should be able to se...
Bob, Were you ever able to find a solution to this problem? I am struggling with the same thing. I am hoping to figure out som...
Join the conversation