Undefined function or variable error

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

 Respuesta aceptada

Thorsten
Thorsten el 16 de Ag. de 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 comentarios

ayidh alharbi
ayidh alharbi el 16 de Ag. de 2016
Hi thorsten,
I have already checked it , the image processing toolbox 9.4 is installed
On my system I get
> which psnr
/Applications/MATLAB_R2015b.app/toolbox/images/images/psnr.m
Have you checked that at the image toolbox is included in your path using path?
And if so, does the directory contains all the files, in particular psnr.m?
And if so, that you have read permission for that file?
ls -l /Applications/MATLAB_R2015b.app/toolbox/images/images/psnr.m
should give something starting with
-r--r--r-- 1
ayidh alharbi
ayidh alharbi el 16 de Ag. de 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 el 16 de Ag. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Install Products en Centro de ayuda y File Exchange.

Preguntada:

el 16 de Ag. de 2016

Comentada:

el 16 de Ag. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by