One or more output arguments not assigned during call to
来源:学生作业帮 编辑:百度作业网作业帮 分类:综合作业 时间:2024/05/02 11:38:00
One or more output arguments not assigned during call to
在matlab中编程会出现这句话,
在matlab中编程会出现这句话,
matlab的官方解释如下.意思是你调用的某个函数应该是有输出的,但是该输出在函数内部没定义.
Explanation:
One of the functions you have called is defined to return an output argument but that output argument does not exist in that function when it tries to return.
Common causes:
You have misspelled the name of one of your output arguments inside your function, or you have forgotten to assign a value to one of the output arguments of your function. Alternatively, the function was originally written with one or more output arguments, but the section of the function that computed the output argument was removed or modified in such a way that the output argument is now extraneous.
Solution:
Stop MATLAB on the last line of the function listed in the warning or error message. Verify that each of the output arguments listed in the function declaration line at the beginning of the function exists after that last line is executed (using the DBSTEP function or the Step button in the Editor). If the arguments do not, examine the function to determine where you intended the arguments to be declared. Verify that those lines of code are being executed and have no typographical errors.
Example demonstrating this error:
OutputNotAssigned.m
Explanation:
One of the functions you have called is defined to return an output argument but that output argument does not exist in that function when it tries to return.
Common causes:
You have misspelled the name of one of your output arguments inside your function, or you have forgotten to assign a value to one of the output arguments of your function. Alternatively, the function was originally written with one or more output arguments, but the section of the function that computed the output argument was removed or modified in such a way that the output argument is now extraneous.
Solution:
Stop MATLAB on the last line of the function listed in the warning or error message. Verify that each of the output arguments listed in the function declaration line at the beginning of the function exists after that last line is executed (using the DBSTEP function or the Step button in the Editor). If the arguments do not, examine the function to determine where you intended the arguments to be declared. Verify that those lines of code are being executed and have no typographical errors.
Example demonstrating this error:
OutputNotAssigned.m
One or more output arguments not assigned during call to
One or more output arguments not assigned during call to 'C:
One or more output arguments not assigned during call to 'E:
matlab报错One or more output arguments not assigned during cal
matlab错误提示?One or more output arguments not assigned during
MATALB 错误?One or more output arguments not assigned during c
Matlab问题 为什么会出现?One or more output arguments not assigned du
Matlab Simulink中的 S函数报错,One or more output arguments not ass
求 one more soul to the call Mp3
翻译one or more files could not be deleted
You may call on me from one to five o’clock, during ____ I a
You may call on me from one to five o’clock,during _____ I a