* Bug #13061 fixed - hdf5 demo failed with a read only file. 28/13128/2
Guillaume Horel [Tue, 12 Nov 2013 10:16:14 +0000 (11:16 +0100)]
Change-Id: I0446098c655560ebba645bcaa9fe444b6a08806c

scilab/CHANGES_5.5.X
scilab/modules/hdf5/demos/resonator.dem.sce

index 4fbf2bc..d76a1e5 100644 (file)
@@ -155,6 +155,8 @@ Scilab Bug Fixes
 
 * Bug #13055 fixed - Array indexing did not follow Scilab convention in JIMS.
 
+* Bug #13061 fixed - hdf5 demo failed with a read only file.
+
 
 Xcos Bug Fixes
 ==============
index eecce97..e82d5f0 100644 (file)
@@ -14,7 +14,7 @@ function resonator_demo()
     filename = "resonator.dem.sce";
     demo_viewCode(filename);
 
-    h5=h5open(SCI+"/modules/hdf5/demos/eps.h5");
+    h5=h5open(SCI+"/modules/hdf5/demos/eps.h5","r");
     eps=h5.root.eps.data;
 
     surf(eps);
@@ -34,4 +34,4 @@ function resonator_demo()
 endfunction
 
 resonator_demo();
-clear resonator_demo;
\ No newline at end of file
+clear resonator_demo;