フィルターのクリア

save text in ascii file

42 ビュー (過去 30 日間)
Fiboehh
Fiboehh 2011 年 3 月 16 日
hey i want to make a ascii file for a sinogram. First information with various variables but text like and then a few matrices with intensitys. The layout will be like: name place seize date arrays of intensitys
I have tried it with save('sino.s2d', '-all variables' ,'-ascii') and it give me a ascii file with all number, all the text like name-place ect is changed into numbers :s Anyone who knows ho to fix this? :d

採用された回答

Laura Proctor
Laura Proctor 2011 年 3 月 16 日
You can use the FPRINTF function which requires more effort than using SAVE. But, you are able to set the formats (such as string or integer) for the output to the file. You can learn more about it in the documentation:

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by