I have created a Galois Field array using the GF command in Communication Toolbox 4.3 (R2009a). I want to write this array to a file using FWRITE. When I try to write it using the following MATLAB code:
x = 0:3;m = 2; a = gf(x,m); fid=fopen('output1.txt','w');fwrite(fid,a,'ubit1');fclose(fid);
I get an error message:
??? Error using ==> fwrite Cannot write value: unsupported class gf
Best Answer