Filter löschen
Filter löschen

how to pass command from a file to command window

1 Ansicht (letzte 30 Tage)
saloni singhal
saloni singhal am 30 Mai 2012
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

Antworten (1)

Thomas
Thomas am 30 Mai 2012
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

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by