フィルターのクリア

Text files for different types of data

1 回表示 (過去 30 日間)
Nerea Zubiaurre
Nerea Zubiaurre 2012 年 3 月 29 日
Hello all,
I have a doubt about how I should work with text files in the following case.
I choose a picture, a pattern from a list and I click a set of points. I can repeat the operation every time I want, and I write the data after every time. This makes me have a text file which looks like this:
Ruta de la imagen: %Path
C:\Users\Nerea Zubiaurre Altu\Documents\MATLAB\Vascular\vascular3.jpg
Patrón: %Pattern
No vena
Puntos: %Points
2.746032e+002 2.207196e+002
2.656581e+002 1.772720e+002
2.835483e+002 2.462770e+002
2.861040e+002 2.437213e+002
Ruta de la imagen: %Path
C:\Users\Nerea Zubiaurre Altu\Documents\MATLAB\Vascular\vascular7.jpg
Patrón: %Pattern
Vasos ramificados
Puntos: %Points
6.707429e+002 2.258311e+002
6.822438e+002 2.271090e+002
6.873552e+002 2.271090e+002
6.924667e+002 1.708827e+002
6.924667e+002 1.708827e+002
Afterwards, I want to import this data again to matlab to work with it but I am finding it complicated as there are different types of data. So I ahve tried as well saving them in different text files. That way, I can obtain the types properly but I cannot define the number of points (as I get a Mx2 matrix of doubles) and the number of point is variable from time to time....
Any idea or help?
I hope I made myself clear!
Nerea

回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by