Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要将一个文本文件导入 matlab 并将其转换为二进制,以便包含二进制值的最终数组采用某种整数格式而不是字符格式。我该怎么做?
fid = fopen('myFile.txt', 'r'); F = fread(fid, 'char=>uint32')'