Undefined function or variable 'runstoredprocedure'.

This function works in 2016b however when in my 2017b version the following error "Undefined function or variable 'runstoredprocedure'" error occurs. I have the database toolbox installed and the im using the default path setting which i can see it links to the /database/database..etc folder. Other functions like the = exec(conn,[sql])does works in 2017b, it just that the runstoredprocedure does not work. Very frustrating.

2 Comments

Please post the code and a copy of the complete error message. "Does not work" does not allow to understand, what happens on your computer. Is the function found?
which runstoredprocedure
Do you have the corresponding license?
ver
I think the problem is that in newer Matlab versions (2017+ i guess) the function is in a package folder.
which runstoredprocedure
'runstoredprocedure' not found.
which '+database\+jdbc\connection\runstoredprocedure.m'
C:\Program Files\MATLAB\R2018b\toolbox\database\database\+database\+jdbc\@connection\runstoredprocedure.m % database.jdbc.connection method

Sign in to comment.

Answers (0)

Categories

Products

Release

R2017b

Asked:

joh
on 20 Sep 2018

Edited:

on 24 Sep 2018

Community Treasure Hunt

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

Start Hunting!