output of the text detection from command window to txt file?

2 ビュー (過去 30 日間)
Aqip10
Aqip10 2018 年 12 月 5 日
編集済み: Aqip10 2018 年 12 月 12 日
I want to know how to change the ouput from command window to show in the txt file? by using the example of Automatically Detect and Recognize Text in Natural Images.
  3 件のコメント
Aqip10
Aqip10 2018 年 12 月 5 日
okay, but actually i wanted to make the output shown on the txt file instead of the command window. I already used the diary but it show empty txt file. Do you know how?
KSSV
KSSV 2018 年 12 月 5 日
YOu write it to a text file using fprintf.

サインインしてコメントする。

回答 (2 件)

madhan ravi
madhan ravi 2018 年 12 月 5 日
編集済み: madhan ravi 2018 年 12 月 5 日
Download cprintf and then write the command window output to a text file using dlmwrite/fprintf

Aqip10
Aqip10 2018 年 12 月 12 日
編集済み: Aqip10 2018 年 12 月 12 日
thanks for the answer! i already found it by using diary
diary(sprintf('run_%s_%d.txt',datestr(now,'yyyy_mm_dd_HH_MM_SS'),randi([1,10000],1)))

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by