fprintf handles.Value?
13 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Dc215905
am 17 Mär. 2020
Kommentiert: Dc215905
am 17 Mär. 2020
Hello,
My
handles.Value = '1.42'
I'm trying to print this to a text file using:
printf(fileID,'%3.2s',handles.Value)
but it keeps printing '3'
If I try to change '%3.2s' do anything, I end up getting different values that are not '1.42'
What am I doing wrong?
Thanks
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Entering Commands finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!