Difference 'function A=function_filename(c,d) and 'A=functio​n_filename​(c,d)'

1 次查看(过去 30 天)
hi, is there a difference between 'function A=function_filename(c,d) and 'A=function_filename(c,d)'?

采纳的回答

Aveek Podder
Aveek Podder 2018-4-17
编辑:Aveek Podder 2018-4-17

function A=function_filename(c,d) declares a function named function_filename that accepts inputs c,d and returns outputs A.

Whereas A=function_filename(c,d) calls the function named function_filename that accepts inputs c,d and the value returned from the function is stored in A.

For more information please have a look at the following link: https://www.mathworks.com/help/matlab/ref/function.html

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 모델링 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!