How do I Measure Distances in an Image and save them in an array?
1 view (last 30 days)
Show older comments
Hi,
I have a question regarding the script resented here:
After I have measured a few features and created labels, how do I save them in an array for future use?
I take it is should be the "diffPos" variable in the function Update Units? Help would be much appreciated.
Thanks in advance!
Linda
0 Comments
Answers (1)
Anton Kogios
on 22 Mar 2024
I haven't been able to test this out but you should be able to change the output argument to include diffPos:
function diffPos = updateUnits(src,evt)
Alternatively, you may be able to save the data to a mat file using the save function (put this line at the end of the updateUnits function):
save('diffPosData.mat','diffPos')
0 Comments
See Also
Categories
Find more on Import, Export, and Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!