Skip to content

Instantly share code, notes, and snippets.

@snitchjinx
Created April 26, 2020 14:57
Show Gist options
  • Save snitchjinx/331d669f382446315b3cf39b55435e9f to your computer and use it in GitHub Desktop.
Save snitchjinx/331d669f382446315b3cf39b55435e9f to your computer and use it in GitHub Desktop.
Matlab parse .json files
fid = fopen('fine_name.json');
raw = fread(fid,inf);
str = char(raw');
fclose(fid);
val = jsondecode(str);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment