필터 지우기
필터 지우기

hey, could somebody please help me understand and resolve this error?

조회 수: 2 (최근 30일)

채택된 답변

Walter Roberson
Walter Roberson 2023년 9월 29일
function y = inputSource(~)
is not how you would define a function that accepts more than one input parameter but ignores the inputs. Each ~ in the calling sequence ignores exactly one input parameter.
You should use one of:
function y = inputSource(~,~,~)
to ignore 1, 2, or 3 input parameters. Or you should use
function y = inputSource(varargin)
to accept any number of input sources (not actually ignoring them completely, but you do not have to use varargin in your code)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Fortran with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by