Clear all not working and blank plot found?

1 次查看(过去 30 天)
%% 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 CenterFile Exchange 中查找有关 Workspace 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