Clear all not working and blank plot found?

1 回表示 (過去 30 日間)
SHARAD KUMAR UPADHYAY
SHARAD KUMAR UPADHYAY 2019 年 5 月 14 日
%% I am trying to run this type program
clc
clear all
close all
syms x output
x=linspace(1,2,3)
output=sin(pi*x./4)
plot(x,output)
%% but i found blank plot and this type of error
Error using clear
CLEAR can only clear the import list in the base workspace
Error in test (line 3)
clear all

回答 (0 件)

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT-Files についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by