Run Button disappears for SOME .m scripts

조회 수: 27 (최근 30일)
Ziemowit Laski
Ziemowit Laski 2016년 9월 22일
댓글: Walter Roberson 2016년 9월 22일
When ex8.m is selected, the 'Run' button does not appear. When ex8_cofi.m is selected, the 'Run' button is there. See attached screenshots.
I went to the Command Window and ran ex8.m "manually". It appeared to succeed, but now the 'Run' button disappeared for ex8_cofi.m as well!
  댓글 수: 1
Walter Roberson
Walter Roberson 2016년 9월 22일
In the first of those, you have at least warnings, as indicated by the orange color to the upper right of the area. The second of those shows green, indicating no warnings or errors. Possibly you need to fix the warnings.
I would also suggest experimenting with commenting out the
clear all; close all; clc
as "clear all" does a lot more than you might expect, and might be interferring with the parsing of the script.

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

답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by