Retrieving data from MATLAB web app

조회 수: 4 (최근 30일)
Thomas
Thomas 2023년 4월 6일
답변: Sachin 2023년 4월 13일
I've created a MATLAB web app, running on the development version of the Web App Server, that is essentially a series of odd-one-out tests. At the end of the tests, I would like to retrieve the choices made (an array containing 0's and 1's) by the user.
With the exception of printing data to the generated log file and retrieving the log file, which would be a last resort, are there any methodologies recommended to achieve this?
  댓글 수: 1
Thomas
Thomas 2023년 4월 6일
The problems I had with regards to accessing certain output files/processes have been resolved through https://uk.mathworks.com/matlabcentral/answers/438992-how-to-make-deployed-matlab-app-on-web-server-to-access-data-from-networked-drive?s_tid=answers_rc1-3_p3_Topic , but still interested in recommendations for data retrieval (if anybody has any).

댓글을 달려면 로그인하십시오.

채택된 답변

Sachin
Sachin 2023년 4월 13일
Hi
I understand that you want to retrieve data from the MATLAB web app
A possible workaround that might help you:
You can create the HTML form inputs in your MATLAB Web App’s user interface to allow you to make choices via user inputs.
You can capture the user’s choices on the server side using MATLAB’s built-in web input functions, such as ‘input’ or ‘inputdlg’ and later retrieve the form data submitted by the user.
You can process the form data in your MATLAB code and store it in database for further analysis.
Please refer to the following documentation for more information on MATLAB database:

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Web App Server에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by