How to execute MatLab function inside SQL Server stored procedure

My requirement is to call Logistic Regression MatLab function inside my stored procedure written in SQL Server. Is this feasible? If yes then can some one help me with sample code or any article or online help.

댓글 수: 1

Id also like to call a function from within a SQL stored procedure... No comments on this original question?

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

답변 (1개)

Amit Patil
Amit Patil 2019년 12월 19일

1 개 추천

Assuming you want to apply logistics regression matlab function to the data retrieved by SQL stored prodecure, here are the steps you can follow-
1. Call the store prodecure from matlab using fetch function.
2. Try applying the desired ML function to the resultset.
For more information on step 1, refer documentation here- https://www.mathworks.com/help/database/ug/call-stored-procedure-that-returns-data.html

카테고리

도움말 센터File Exchange에서 MATLAB Web App Server에 대해 자세히 알아보기

제품

질문:

2016년 5월 14일

답변:

2019년 12월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by