problems using the subplot command in MatLab

조회 수: 3 (최근 30일)
Younis YOUNIS
Younis YOUNIS 2014년 12월 10일
답변: Jan 2014년 12월 10일
Hi, I faced this message when I used subplot command in MatLab: Attempt to execute SCRIPT subplot as a function:
  댓글 수: 1
Jos
Jos 2014년 12월 10일
can you show how you used the subplot command

댓글을 달려면 로그인하십시오.

답변 (1개)

Jan
Jan 2014년 12월 10일
What is your current directory? I cannot test it currently, but this effect could happen, when the current directory is in the folder, which contains the help section of the subplot command.
cd(fileparts(which('suplot.m')))
subplot(1,2,1)
Then subplot.m is called, but this is a script which contains the help section as comments only.
If this is your problem, change to another folder.

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by