Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Load function not properly loading a numeric ASCII file

1 Ansicht (letzte 30 Tage)
Eric Metzger
Eric Metzger am 27 Sep. 2018
Geschlossen: Walter Roberson am 28 Sep. 2018
I am trying to load and ASCII file that is 24X48. The load function will not load the load the actual values in the work space. It will load zeros. The "readtable" will work without a problem but it puts in format has to be converted into an array and can only be done after individual values are pulled out, put into a 1X1 table then converted into an array. I am using R2018a at this time. I never had this problem with my old version R2008b.
Is there a way to use the load function on a ASCII file that is in the form of a table that will not cause this issue?
Ideally, I need a function that can load in an ASCII file into the workspace as an array quickly without jumping through hoops and allow the data to be either a character or an integer or number?
  1 Kommentar
Walter Roberson
Walter Roberson am 28 Sep. 2018
Duplicated by later https://www.mathworks.com/matlabcentral/answers/421137-load-function-not-properly-loading-a-numeric-ascii-file which has some responses

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by