Created
April 26, 2020 14:57
-
-
Save snitchjinx/331d669f382446315b3cf39b55435e9f to your computer and use it in GitHub Desktop.
Matlab parse .json files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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