Error in code (how to run this code by solving the error)?
Show older comments
Hello guys,
I have this code, but when i run it shows error. Initial error screenshot attached, i don't know about the further error. Can you guys tell me how to run this code successfully or at least solve first error?
You can see code in the file
Thanks a ton
Answers (1)
KSSV
on 24 May 2021
Don't run the code directly using run button. First define the input variables and then call your function.
cls_param = your variable ; % give your variable
cal_image = your variable ; % give your variable
ref_spec = your variable ; % give your variable
[cls_data,cls_stats] = WEEE_imageprocessing(cls_param, cal_image,ref_spec) ;
6 Comments
Devyani Sankhe
on 24 May 2021
KSSV
on 24 May 2021
The function has help....please read it to get more information. Read the INPUT section of the file.
Devyani Sankhe
on 24 May 2021
Edited: Devyani Sankhe
on 24 May 2021
Devyani Sankhe
on 25 May 2021
Edited: Devyani Sankhe
on 25 May 2021
Devyani Sankhe
on 27 May 2021
Walter Roberson
on 27 May 2021
"NO, this function has no help option"
Then you must be using a different function than the one you posted, as the one you posted has help information.
help WEEE_imageprocessing
In particular lines 3 through 50 of the posted code are the help information, and describe the exact field names of each of the input structures and the purpose of each of the fields, for the posted code.
Categories
Find more on Image Preview and Device Configuration 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!