How to import text present in figure to excel?
2 views (last 30 days)
I wrote text in figure.For example:
text(0,0.5,sprintf([ 'speed = %0.1f kmph (%0.1f miles/hour)\n'
'time = %0.1f min \n '
And the output:
How want import this output to excel?
Thank you in advance
Ankit on 28 Jan 2022
There is one way to write the output to *.xlsx-File.
filename = 'Test.xlsx';
str = sprintf(['speed = %0.3f kmph \n' 'time = %0.1f min \n '],speed,time);
OutPut = cellstr(str);