Undefined function or variable 'runstoredprocedure'.

1 view (last 30 days)
joh
joh on 20 Sep 2018
Edited: Dennis on 24 Sep 2018
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
Jan
Jan on 24 Sep 2018
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
Dennis
Dennis on 24 Sep 2018
Edited: Dennis on 24 Sep 2018
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

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!