Truncated arrays when using different Version of MATLAB
5 views (last 30 days)
Show older comments
I do most of the programming in my work group but others also have MATLAB installed on their computers. I am currently running R2014b ( I know its old...) My supervisor is running R2016a. I wrote a program that imports various number of data files (excel files) and appends then into a large array then writes the large array back into a new excel file to be used by another program. When the user runs the program they are asked how many files they want to append and since the files are all the same size I can define the size of the final array after the user answers the question but before I start to ingest data. Our work group used a shared drive system so if I run the program or my supervisor does we are both using the exact same MATLAB program and the exact same data files.
The number of rows of data can vary but the number of columns is consistent. One example would be 9 files so the final array ends up being 12962 rows x 31 columns. When I run the program it all works fine. But when my supervisor runs the program sometimes the last two columns of data do not get exported to the EXCEL output file. Sometimes it is just the last column is missing. I have checked and we are both have similar computers with 8 Gb of RAM. We have never been able to get her computer to be able to correctly import and export all the data.
Any ideas?
Answers (1)
See Also
Categories
Find more on Data Import from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!