Call function that deliver 2 results

Hello, I work on Image Quality Assessment Algortihms. My problem is the following: When I call a function that needs two. Exe files (needed for SVM classification) that is not in the current folder (after changing the path, including adding sub paths) so that it provides a result A. When I put it in the folder where is the function, so that it provides a result B (which the correct result). I do not understand why this metric provides two different results? What I realized is that when I call the function to its own directory, so that it recognizes the EXE files which I have spoken. however when I call out the current directory, it do not know the .EXE !! If you have any ideas, I'll take.
Thank you.

回答(2 个)

Image Analyst
Image Analyst 2013-10-12
How can it provide result A when it's not in the search path, and return the correct result B when it is in the search path when you say it can't even find the EXE when it's in the current folder? How can it possibly return result B if it can't find the EXE?
Anass
Anass 2013-10-12
Thank you for your reply.
Here is the code of the metric (on attachement).
To test, simply load a image.jpg, and call the function Biqi: score_qualité Biqi = (image);
and there you will notice that if you are in the folder that contains all the functions of the metric, it gives a result.
and if you are out the file, and although you add the path and subpath of the folder containing the codes, so after test, you will have a second income.
I'm waiting for your response.
thank you

类别

帮助中心File Exchange 中查找有关 Get Started with Image Processing Toolbox 的更多信息

标签

提问:

2013-10-11

回答:

2013-10-12

Community Treasure Hunt

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

Start Hunting!

Translated by