Function that has a text file as input
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi I somehow know how to create a new function in matlab, while the function has NUMBERS as input. How can I define a Text file as input for my Matlab function? your answers really makes my life easier.
0 Kommentare
Akzeptierte Antwort
Jan
am 29 Feb. 2012
What exactly do you mean by "text file"? The name or the contents of the file?
Both possibilities mean, that the input is a string, but in the first case, the input is treated as file name.
2 Kommentare
Jan
am 9 Mär. 2012
What did you do exactly and what does "it does not work" mean explicitely? Currently the description of the problems is too vague to allow a specific answer.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Import and Export 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!