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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Amit Patil
Amit Patil am 19 Dez. 2019

1 Stimme

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

Kategorien

Mehr zu MATLAB Web App Server finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 14 Mai 2016

Beantwortet:

am 19 Dez. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by