Info

This question is closed. Reopen it to edit or answer.

Load function not properly loading a numeric ASCII file

1 view (last 30 days)
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 Comment
Walter Roberson
Walter Roberson on 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

Answers (0)

Community Treasure Hunt

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

Start Hunting!