Tag Info

8

This turns out to be easy. In Windows 7: Add C:\Program Files\Wolfram Research\Mathematica\9.0\ to the path. Write procedures for what you want to do in The Wolfram Language, and save in a .m file. Add MathKernel.exe -script filename.m to the Windows Task Scheduler. Specify that the job runs in the directory containing the .m file. That seems to be it. ...

4

On Windows there are two kernel executables: MathKernel.exe and math.exe. MathKernel.exe has its own input window, which may show up separately when you start the process from a command window. If you run it in MathLink mode, it may still show as a taskbar button. math.exe runs in a standard Windows command window. If you start it from within an existing ...

7

Updated This happens because your DynamicModule returns a dynamic object of which x is passed on to the front-end before the scheduled task starts, so the front-end-x cannot be modified anymore by any process (more details at the end). The problem can be further simplified. This works: RemoveScheduledTask@ScheduledTasks[]; DynamicModule[{x = 0}, ...

3

Borrowing from an example of WhenEvent from the documentation in which a Button is used to stop the integration, I came up with this. ClearAll[ndsolveMemConstrained]; SetAttributes[ndsolveMemConstrained, HoldFirst]; ndsolveMemConstrained::mlim = "Memory used  exceeded limit ."; ndsolveMemConstrained[(nd_: NDSolve | NDSolveValue)[eqns_, rest___], bytes_] ...

0

Here is a method I found for a different problen which could probably be adapted to your problem. {fit, steps} = Reap[TimeConstrained[ FindFit[ztp, {convolutionModel, k > 1 && r0 > 0 && r1 > 0}, convolutionParameters, t, Method -> Automatic, StepMonitor :> Sow[{r0, r1, k}]], 10]]; You should be able to change ...

Top 50 recent answers are included