フィルターのクリア

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 Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by