wuchy143
Member
Hi,
I am trying to manipulate a binary file(bootrom .bin file) so that I can put it into a .txt file in order to get it into the correct format to compare against another .txt file. Essentially I am trying to make the format of both files match by manipulating one. (don't ask why i'm doing this, long story)
I'm sure this is very simple, but, I am trying to import the .bin file into matlab, use fopen and then use textscan to get the file into an array. I also think I need to convert from dec2hex as well but one step at a time.
Can anyone point me in the right direction. Matlab keeps spitting back jibberish.
Thanks, I appreciate the help.
I am trying to manipulate a binary file(bootrom .bin file) so that I can put it into a .txt file in order to get it into the correct format to compare against another .txt file. Essentially I am trying to make the format of both files match by manipulating one. (don't ask why i'm doing this, long story)
I'm sure this is very simple, but, I am trying to import the .bin file into matlab, use fopen and then use textscan to get the file into an array. I also think I need to convert from dec2hex as well but one step at a time.
Can anyone point me in the right direction. Matlab keeps spitting back jibberish.
Thanks, I appreciate the help.