Community Profile

Caleb


12 total contributions since 2012

Contact

Contributions in
View by

Answered
Shaperead
Try this: s = shaperead('concord_shapes.shp','UseGeoCoords',true)

4 years ago | 0

Question


How can I acquire position data from an encoder?
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...

4 years ago | 0 Answers | 0

0

answers

Answered
How can i measure length interactively in axes in gui?
You should be able to use something like this: figure; axis manual ruler = imline(gca); % Get original positio...

4 years ago | 1

Question


How can I sort a string both alphabetically and numerically?
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...

4 years ago | 3 Answers | 0

3

answers

Answered
how do you hide an output?
Might try this: [junk, name]=strtok(file(3),'_p'); [right,name]=strtok(name,'_p'); [left,name]=strtok(name,'_V'); ...

4 years ago | 1

Answered
Simple program with a formula
function xyz x = uicontrol('style','edit','units','normalized',... 'position',[.18 .5 .2 .2],'callback...

4 years ago | 0

| accepted

Answered
GUI
% Intial value of a a = 2; setappdata(0,'a',a) %%%%%%%%%%%%% setappdata(0,'a',a+1) % Put this part within the callba...

4 years ago | 0

Answered
How can I load a GUI into another GUI?
If you design the GUI programmatically, this should be possible, but with GUIDE I don't think so.

4 years ago | 0

Answered
how to use fprintf in string command
fprintf('%g',[xopt Fopt])

4 years ago | 0

Answered
Exchanging data between different GUI
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...

4 years ago | 0

Responded


Re: using fprintf
Try replacing it with this: fprintf('%g',[xopt Fopt]); It seems to give the same result as using the disp command, though.

4 years ago | 1885 views

Responded


Re: Append a file with UIPUTFILE
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...

4 years ago | 1477 views