Error in code (how to run this code by solving the error)?

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

답변 (1개)

KSSV
KSSV 2021년 5월 24일
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

Hi @KSSV.
Thanks a lot, what should i give variable value ? can you please guide me?
I will be very much thankful to you if you help me. I have started using matlab from few weeks, so sorry for asking some stupids questions
Devyani
The function has help....please read it to get more information. Read the INPUT section of the file.
Devyani Sankhe
Devyani Sankhe 2021년 5월 24일
편집: Devyani Sankhe 2021년 5월 24일
NO, this function has no help option. Also in the Input section of the file nothing has mentioned. I don't how to write the value that code will accept my value. Please guide me @Image Analyst @KSSV
Devyani Sankhe
Devyani Sankhe 2021년 5월 25일
편집: Devyani Sankhe 2021년 5월 25일
Hi,
I do have one code file, attached in this comment. this can be useful for that purpose?
Thanks a tone
Hi,
can you please respond to this comment?
Thanks a ton
Devyani
"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.

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

제품

릴리스

R2021a

질문:

2021년 5월 24일

편집:

2021년 6월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by