Extracting data from a text file.
이전 댓글 표시
Please help me with this code. Annotations.text contains the positions for five rectangles. How can I extract the values from text file and use it as position for rectangles.
I=imread('avengers.png');
Data = dlmread('Annotations.txt');
[rows, columns] = size(Data);
imshow(I);
rectangle('Position', 'Curvature',[0,0], 'LineWidth', 2, 'EdgeColor','r');
댓글 수: 2
Geoff Hayes
2015년 1월 16일
Saad - can you provide a sample of the data from the Annotations.text file? We can't offer guidance unless you provide some details concerning the content/format of this file.
Saad Saboor
2015년 1월 16일
채택된 답변
추가 답변 (1개)
D. Ali
2019년 4월 27일
0 개 추천
I have similar question where I need to extarct all MCAP with time they occured on in separat file and plot if possilbe
I attached the file
카테고리
도움말 센터 및 File Exchange에서 Data Import and Export에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
