changeset 102:5ffea09f47a3

typo
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 13 Jun 2017 11:22:36 +0200
parents 3e78daa774df
children af1e13dac7e6
files Sphinx/source/faq/matlab.rst
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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' ]));