Trial Imaging Not Recognizing Functions

Why is it that I can't get Matlab's Image Processing Toolbox (Trial Pack) to run any sort of function? I can get as far as telling it to read and show an image before stonewalling. I follow the example here, which is pretty simple: http://www.mathworks.com/help/images/edge-detection.html#buh9ylp-13, but no luck. The error message reads: Undefined function or variable 'edge'.The file directory for when I do anything is: C/Program Files/MATLAB/R2016a/bin Am I perhaps supposed to be somewhere else so that it's able to read the function algorithms?

 Accepted Answer

You should create your files somewhere else, in a directory that you own. Creating files in MATLAB's installation directories is going to cause problems -- the operating system is going to refuse permission to save anything there.
What is the output you see for
ver('images')
license('test','Image_Toolbox')
which edge

2 Comments

The output for ver('images'):
MATLAB Version: 9.0.0.341360 (R2016a) MATLAB License Number: • Operating System: Microsoft Windows 10 Home Version 10.0 (Build 10586) Java Version: Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode
------------------------------------------------------------
Warning: No properly formatted Contents.m file was found for 'images'. > In ver (line 54)
Output for license('test','Image_Toolbox'):
ans =
1
Do I maybe have compatibility issues...? I've just been using edge(I), I know you can specify other types but Sobel should have been the default.
You are licensed for the product but you do not have it installed.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!