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

조회 수: 7 (최근 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에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!