can I use keyboard inputs to generate plots?

조회 수: 1 (최근 30일)
Tiberius
Tiberius 2014년 4월 19일
답변: Walter Roberson 2014년 4월 19일
I have a variety of plots available (more exactly, a cell with 45 matrices in it). If I put p=14 (a value <45) and then the plotting commands, it works. Now, can I input p from keyboard? (stop the program, ask for input and based on that plot the corresponding plot)

채택된 답변

Walter Roberson
Walter Roberson 2014년 4월 19일
p = input('What p do you want?');

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by