Re: Open and Run File



hrh1818 <hrhan@xxxxxxx> wrote in message <679097a7-cfab-4ec6-a871-8d222348478f@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>...
On Sep 26, 1:54=A0pm, "Matthew Lamberti" <mlambe...@xxxxxxxxxxxxx>
wrote:
Is there a way to automatically run an m-file when it is opened? I search=
ed for this, but can't find anything?

What do you mean by open? Are you saying you want to simultaneously
display the contents of an m file and run it with one command.
Otherwise running an m file can also be interpreted as doing what you
want. as Matlab has to open an m file to run the m file.

Howard

I am trying to automate some administrative task. Right now, I have a few scripts that I run mannually. By this, I mean I open the m file, hit f5, program does its thing, then I shut it down.

I was thinking that I could automate this effort. Was going to try and use Scheduled Task to open the m-file, but I don't know how to execute the file after it is opened.

More clear or not?
.



Relevant Pages

  • Re: Middle Finger Salute
    ... possess a small fraction of everything there is to know. ... everybody tried to learn how to configure automatic updates, ... I am saying they _could_ learn - or they could live in ignorance. ... automate the save process in MS Word/MS Excel/MS Powerpoint/OpenOffice ...
    (microsoft.public.windowsupdate)
  • Re: Loop through date range, but skip down to next year
    ... are you saying it doesn't do this on your system? ... What version of Excel are you using and what operating system version are you running it on? ... My originally posted code did that, but you told me it gave you too much information and you had me modify it to retrieve the data for just the dates you have listed in Column A. I'm not sure how you would want to automate this. ... I see these as mutually exclusive situations; or do you have some method of proceeding in mind that would permit both scenarios to apply? ...
    (microsoft.public.excel.programming)
  • Re: How to know when external process has exited
    ... I want to automate something and display a simple msgbox that ... Did you set your process objects EnableRaisingEvetns property to ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Question on automating Dialogboxes in VBA
    ... if you always reply the same to the dialog box and want to automate ... display the dialog. ... program running within Windows to watch for it. ... I was wondering if the following is possible in VBA. ...
    (microsoft.public.word.vba.general)
  • Automating HTTP tasks
    ... automate some tasks, and I'm looking for intermediate-level tutorials ... I'd like to be able to automatically download all those images ... alert, possibly combined with display of the new page, when changes ...
    (microsoft.public.win2000.networking)

Loading