|
Filomena |
Forum-Newbie
|
|
Beiträge: 5
|
|
|
|
Anmeldedatum: 10.04.20
|
|
|
|
Wohnort: ---
|
|
|
|
Version: ---
|
|
|
|
|
|
Verfasst am: 10.04.2020, 10:23
Titel: Reading Textfile
|
|
Hey everyone,
I´m very beginner at Matlab and have some trouble with opening a textfile and cant´t find the mistake in my code..the textfile Information just doesnt open up.
I have to sort the textfile (4 rows and 4 columns) in 4 categories, and this is what I tried:
(I already added the textfile to the path)
Can you maybe see why it doesnt open the textfile content? I´m very stuck, thank you so much
Beschreibung: |
|
Download |
Dateiname: |
exercise.txt |
Dateigröße: |
54 Bytes |
Heruntergeladen: |
214 mal |
|
|
|
|
|
Harald |
Forum-Meister
|
|
Beiträge: 24.495
|
|
|
|
Anmeldedatum: 26.03.09
|
|
|
|
Wohnort: Nähe München
|
|
|
|
Version: ab 2017b
|
|
|
|
|
|
Verfasst am: 10.04.2020, 10:49
Titel:
|
|
Hi,
first recommendation: read the doc! The format syntax you are trying to use is nothing close to what is shown in the examples for textscan.
Then, use tables. It's the most intuitive way to represent tabular data.
To systematically learn the basics of MATLAB, consider going through MATLAB Onramp.
https://www.mathworks.com/learn/tutorials/matlab-onramp.html
This is a German language forum, thus if you speak German, please write in German.
Cheers,
Harald
_________________
1.) Ask MATLAB Documentation
2.) Search gomatlab.de, google.de or MATLAB Answers
3.) Ask Technical Support of MathWorks
4.) Go mad, your problem is unsolvable ;)
|
|
|
|
|
Einstellungen und Berechtigungen
|
|
Du kannst Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen. Du kannst Dateien in diesem Forum posten Du kannst Dateien in diesem Forum herunterladen
|
|
Impressum
| Nutzungsbedingungen
| Datenschutz
| FAQ
| RSS
Hosted by:
Copyright © 2007 - 2025
goMatlab.de | Dies ist keine offizielle Website der Firma The Mathworks
MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, SimBiology, SimHydraulics, SimEvents, and xPC TargetBox are registered trademarks and The MathWorks, the L-shaped membrane logo, and Embedded MATLAB are trademarks of The MathWorks, Inc.
|
|