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?

 채택된 답변

Walter Roberson
Walter Roberson 2016년 5월 25일

0 개 추천

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

Beth Chen
Beth Chen 2016년 5월 26일
편집: Walter Roberson 2016년 5월 26일
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.
Walter Roberson
Walter Roberson 2016년 5월 26일
You are licensed for the product but you do not have it installed.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2016년 5월 24일

댓글:

2016년 5월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by