필터 지우기
필터 지우기

how to pass command from a file to command window

조회 수: 1 (최근 30일)
saloni singhal
saloni singhal 2012년 5월 30일
sir, Is there any command in matlab through which we write the command on command with from m-file.example:- from some m- file write ho = findobj('tag','sl2'); this command to command window while program is running

답변 (1개)

Thomas
Thomas 2012년 5월 30일
You could use the disp command
function myfunction
...
...
disp('ho=findobj(''tag'',''sl2'')')
...
...
FYI starting multiple question threads without checking on previous thread responses does not usually help

카테고리

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