Thread Subject: Goto comandwindow

Subject: Goto comandwindow

From: Dugi

Date: 19 Aug, 2008 06:50:38

Message: 1 of 5

Hi, is there any possible comand in matlab, to select the
comandwindow?

Subject: Goto comandwindow

From: Walter Roberson

Date: 19 Aug, 2008 14:19:25

Message: 2 of 5

Dugi wrote:
> Hi, is there any possible comand in matlab, to select the
> comandwindow?

Ummm, maybe. What do you mean by "select the commandwindow" in
this case? You would not be able to draw in the command window,
and you would not be able to make it the "current figure".

If you want to fwrite() something to the command window, use
fid 1 as the destination.

Did you mean something like "raise the command window to the top"?
If so then I believe it could be done by accessing the java level,
but I've never investigated that level myself.

--
Q = quotation(rand);
if isempty(Q); error('Quotation server filesystem problems')
else sprintf('%s',Q), end

Subject: Goto comandwindow

From: Bart Roossien

Date: 19 Aug, 2008 14:55:05

Message: 3 of 5

Dugi <hauser_daniel@gmx.at> wrote in message
<19a59b99-cb60-4192-8abc-4d7065f080b8@p25g2000hsf.googlegroups.com>...
> Hi, is there any possible comand in matlab, to select the
> comandwindow?
>

Or are you looking for the keyboard short-cut : Ctrl + 0 ?

Subject: Goto comandwindow

From: Steven Lord

Date: 19 Aug, 2008 17:35:10

Message: 4 of 5


"Walter Roberson" <roberson@hushmail.com> wrote in message
news:NDAqk.196939$gc5.165024@pd7urf2no...
> Dugi wrote:
>> Hi, is there any possible comand in matlab, to select the
>> comandwindow?

*snip*

> Did you mean something like "raise the command window to the top"?
> If so then I believe it could be done by accessing the java level,
> but I've never investigated that level myself.

If that's what the OP meant:

http://www.mathworks.com/access/helpdesk/help/techdoc/ref/commandwindow.html

--
Steve Lord
slord@mathworks.com


Subject: Goto comandwindow

From: Dugi

Date: 20 Aug, 2008 07:12:27

Message: 5 of 5

On 19 Aug., 19:35, "Steven Lord" <sl...@mathworks.com> wrote:
> "Walter Roberson" <rober...@hushmail.com> wrote in message
>
> news:NDAqk.196939$gc5.165024@pd7urf2no...
>
> > Dugi wrote:
> >> Hi, is there any possible comand in matlab, to select the
> >> comandwindow?
>
> *snip*
>
> > Did you mean something like "raise the command window to the top"?
> > If so then I believe it could be done by accessing the java level,
> > but I've never investigated that level myself.
>
> If that's what the OP meant:
>
> http://www.mathworks.com/access/helpdesk/help/techdoc/ref/commandwind...
>
> --
> Steve Lord
> sl...@mathworks.com

Im trying to start matlab with a makro in microsoft excel, and it's
essential to start a m-file.

I tried it this way:


AppActivate "MATLAB", 0
SendKeys "uimenufcn(0,'WindowCommandWindow');", [-1]
SendKeys "clc;", [-1]
SendKeys "clear all;", [-1]
SendKeys "close all;", [-1]
SendKeys "m-file", [-1]
SendKeys "{enter}", [-1]
SendKeys "{enter}", [-1]
SendKeys "clc"
AppActivate "Microsoft Excel"


thx

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com