Skip to content

Commit 4dc76ef

Browse files
committed
make example script compatible with matlab R2010
1 parent ad8be26 commit 4dc76ef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/demo_jsonlab_basic.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
randseed=hex2dec('623F9A9E');
77
clear data2json json2data
88

9+
if(exist('isequaln')==0)
10+
isequaln=@isequal;
11+
end
12+
913
fprintf(1,'\n%%=================================================\n')
1014
fprintf(1,'%% a simple scalar value \n')
1115
fprintf(1,'%%=================================================\n\n')

0 commit comments

Comments
 (0)