I am getting the error 'Unrecognized function or variable 'ctfroot' when I try to invoke MATAB runtime R2019b
27 views (last 30 days)
Show older comments
I am trying to invoke MATLAB Runtime R2019b through custom tool and I am hetting the error as shown below. It was working fine previously and suddenly it got stopped.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1346229/image.png)
1 Comment
MarKf
on 5 Apr 2023
if it was working previously and now stopped, likely a change in paths could have caused this (also because path management is usually an issue). Being careful in recreating the same environment with the same paths, packages, and versions would likely solve the issue.
In case, use which ctfroot to check whether the function is in your path. Look up where it is otherwise and addpath the directory in which it is contained. That may not be the right way if it is part of private functions of a toolbox, but usually it'd work.
Accepted Answer
More Answers (1)
Nihal Reddy
on 13 Apr 2023
I understand you are getting "Unrecognized function or variable 'ctfroot'" error while invoking MATLAB Runtime.
Please refer to the following MATLAB Answer which talks about-
In addition to this you can refer to the following MATLAB Answer which specifically talks about the error you are facing currently-
0 Comments
See Also
Categories
Find more on Installation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!