diff Sphinx/source/faq/matlab.rst @ 102:5ffea09f47a3

typo
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 13 Jun 2017 11:22:36 +0200
parents cb712e9d9187
children af1e13dac7e6
line wrap: on
line diff
--- a/Sphinx/source/faq/matlab.rst	Fri Jun 09 16:34:27 2017 +0200
+++ b/Sphinx/source/faq/matlab.rst	Tue Jun 13 11:22:36 2017 +0200
@@ -26,7 +26,7 @@
   instances = loadjson(urlread([ URL '/series/' SERIES '/instances' ]));
 
   # Select one slice from the series
-  instance = instances(1,1).ID
+  instance = instances{1}.ID
 
   # Decode the slice with Orthanc thanks to the "/matlab" URI
   slice = eval(urlread([ URL '/instances/' instance '/matlab' ]));