Why can't I access Toolbox functions

29 views (last 30 days)
I have searched the usual channels and not found an answer. I am trying to access functions in the Image Processing Toolbox but they are undefined.
Other answers on here have led me to do some checks and I have found:
1) The toolbox is installed.
2) I have a licence for it (through my university) and I am logged into my account. I have checked this by looking at the toolboxes included as part of my university licence as well as checking from the command window using --- license checkout Image_Toolbox --- and received ans = 1
3) The addon is enabled.
I have also checked for and run updates.
Walter Roberson
Walter Roberson on 18 Nov 2018
The information you found about drawrectangle() is for R2018b; in R2018a you would still use the other function.

Sign in to comment.

Accepted Answer

Akshay Khadse
Akshay Khadse on 20 Nov 2018
Edited: Akshay Khadse on 20 Nov 2018
The drawcircle and drawrectangle were introduced in MATLAB R2018b. Usually, this information can be found at the bottom most part of the documentation page. You can confirm this from the following documentation links:
For MATLAB R2018a, you could use the imellipse and imrect. Please refer to the following documentation pages for more information:
Please take into account the following:
  1. It might be best to upgrade to MATLAB R2018b and use drawcirclre and drawrectangle as it is recommended to use these commands over imellipse and imrect in the above documentation.
  2. There are some differences in the working and application of the commands like the drawrectangle vs imrect and drawcircle vs imellipse.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!