Undefined function or variable error

10 views (last 30 days)
Hi There
I have been using MATLAB R2016a version for a while , it is working perfectly but i need to activate it monthly , I observe undefined function error or variable during my work even though i am sure about the work space and the typed command
for example when i write any command with psnr or immse , it gives me the mentioned error
it was working previously but now i do not know why ?
Kind Regards, Ayidh

Accepted Answer

Thorsten
Thorsten on 16 Aug 2016
Both commands are part of the image processing toolbox. Maybe you have not installed this toolbox in your current version? To check what is installed, type
ver
  4 Comments
ayidh alharbi
ayidh alharbi on 16 Aug 2016
i tried to type which psnr and immse , it seems my version have no license avaliable for
C:\Program Files\MATLAB\R2016a\toolbox\images\images\psnr.m % Has no license available Trial>> which immse C:\Program Files\MATLAB\R2016a\toolbox\images\images\immse.m % Has no license available
so is there any way to solve that or i have to get a version which is not trial
thanks
Thorsten
Thorsten on 16 Aug 2016
If you have a trial version you should have asked for all at the toolboxes you need. Otherwise you get only the basic Matlab without any toolboxes.

Sign in to comment.

More Answers (0)

Categories

Find more on Install Products 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!