WICHTIG: Der Betrieb von goMatlab.de wird privat finanziert fortgesetzt. - Mehr Infos...

Mein MATLAB Forum - goMatlab.de

Mein MATLAB Forum

 
Gast > Registrieren       Autologin?   

Partner:




Forum
      Option
[Erweitert]
  • Diese Seite per Mail weiterempfehlen
     


Gehe zu:  
Neues Thema eröffnen Neue Antwort erstellen

load hex data from a text file

 

parafux
Forum-Newbie

Forum-Newbie


Beiträge: 1
Anmeldedatum: 23.10.19
Wohnort: ---
Version: ---
     Beitrag Verfasst am: 23.10.2019, 08:03     Titel: load hex data from a text file
  Antworten mit Zitat      
Hi,

i use matlab and octave on Linux.
I have a file test.txt with this content:

0xA 0xB
0xC 0xD

I load the data in matlab with this command:
x=load("test.txt")

I get this result, seems that the programmer implemented a fridays 13th joke

>> x
x =
10 11
12 14

I also try this load command in Octave, but get this error:
octave:18> x=load("test.txt");
error: load: failed to read matrix from file 'test.txt'
NOTICE: Due to inactivity, your session will expire in five minutes.
Private Nachricht senden Benutzer-Profile anzeigen


Neues Thema eröffnen Neue Antwort erstellen



Einstellungen und Berechtigungen
Beiträge der letzten Zeit anzeigen:

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 | goMatlab RSS Button RSS

Hosted by:


Copyright © 2007 - 2024 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.