I thought Matlab now let you force data types, so that not everything is automatically a double. I am using 7.0 R14. I want to declare variables as type int16 or int32 before reading them in from a binary file. When I do so, however, they still end up as type double. How can I force them to be...
Thank you. I had tried textscan before but was stymied by something else. I have now used it to read most of data, but I still have the variabiilty problem I alluded to in my titel. The data at the end of the lines is variable in that the part beginning with "RotOri" is optional. I read that you...
I am trying to read in text files with some variability in each line. This is my M-file, with an example file in the comments:
% read in BESA source files
%BSA_1.04.19990715|HC
%type x-loc y-loc z-loc x-ori y-ori z-ori color state size...