Mercurial > hg > human-echolocation-java-webapp
comparison webapp/WEB-INF/src/HumanEchoServlet.java @ 8:76f809129f98
build file now correctly compiling the TestEchoClass; the TestEchoClass now calls the matlab function with the output filename arg.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Fri, 29 Nov 2013 13:04:29 +0000 |
parents | b6acfffd25cd |
children | 2129d2bac6cb |
comparison
equal
deleted
inserted
replaced
7:81cbea09cc75 | 8:76f809129f98 |
---|---|
39 | 39 |
40 double[][] square = new double[0][]; | 40 double[][] square = new double[0][]; |
41 | 41 |
42 // double[][] square = new double[0][]; | 42 // double[][] square = new double[0][]; |
43 // WebFigure figure = null; | 43 // WebFigure figure = null; |
44 | 44 /* |
45 try { | 45 try { |
46 // refers to the mcode function gen_echo.m | 46 // refers to the mcode function gen_echo.m |
47 Object[] result = echo.gen_echo(1, test); | 47 Object[] result = echo.gen_echo(1, test); |
48 | 48 |
49 MWNumericArray array = (MWNumericArray)result[0]; | 49 MWNumericArray array = (MWNumericArray)result[0]; |
70 } | 70 } |
71 } | 71 } |
72 buffer.append("</TABLE>"); | 72 buffer.append("</TABLE>"); |
73 buffer.append("<BR>"); | 73 buffer.append("<BR>"); |
74 response.getOutputStream().print(buffer.toString()); | 74 response.getOutputStream().print(buffer.toString()); |
75 */ | |
75 } | 76 } |
76 } | 77 } |