Write an interactive script
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
write a script to input an integer number between 0 and 255, and output the number to the screen between the characters '< ' and ' > ' . This input and display operation should be repeated 10 times. After the 10th iteration the script should save all the input numbers to a text file in a human readable form.
I have no idea to do it.
0 Commenti
Risposte (2)
Walter Roberson
il 28 Apr 2014
See "for" and "input". See also fprintf(), dlmwrite(), and save() with the -ascii option.
0 Commenti
Neda
il 18 Ago 2025
Modificato: Neda
il 18 Ago 2025
Hello,
There is a communication regarding "How can I set the text font style of a Data Cursor object interactively on a plot?". But I am not clear on the answer found in this link:
I do not know how and where to put the recommended commands. Would you please clarfity and give me more details?
Thank you.
1 Commento
DGM
il 18 Ago 2025
I don't know why this is here in an unrelated thread. Either post this as a comment in the original thread or post this as a new question. I can't move it there, you'll have to do it.
Vedere anche
Categorie
Scopri di più su Graphics Object Programming in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!