How do i fix that code

조회 수: 27 (최근 30일)
Opeoluwa Oluwatunmise
Opeoluwa Oluwatunmise 2018년 11월 13일
답변: Steven Lord 2018년 11월 13일
switch nargin
case 0
error(message('MATLAB:minrhs'));
case 1
S.s = tomupad(x);
Error using sym (line 212)
Not enough input arguments

답변 (1개)

Steven Lord
Steven Lord 2018년 11월 13일
When you call the sym function you must call it with at least one input argument. The Syntax section on that documentation page does not list a zero input calling syntax. Based on the error message you are calling it with no input arguments.

카테고리

Help CenterFile Exchange에서 Function Creation에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by