Skip to content

Commit

Permalink
make example script compatible with matlab R2010
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Oct 24, 2019
1 parent ad8be26 commit 4dc76ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/demo_jsonlab_basic.m
Expand Up @@ -6,6 +6,10 @@
randseed=hex2dec('623F9A9E');
clear data2json json2data

if(exist('isequaln')==0)
isequaln=@isequal;
end

fprintf(1,'\n%%=================================================\n')
fprintf(1,'%% a simple scalar value \n')
fprintf(1,'%%=================================================\n\n')
Expand Down

0 comments on commit 4dc76ef

Please sign in to comment.