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 个评论

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

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

版本

R2017b

提问:

joh
2018-9-20

编辑:

2018-9-24

Community Treasure Hunt

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

Start Hunting!

Translated by