9,971 reputation
1745
bio website
location
age
visits member for 2 years, 10 months
seen 14 hours ago

Feb
25
comment Mathematica 9.0 problem: ParallelTable with SQLExecute
Not sure but I think you would need to ParallelEvaluate the conn=OpenSQLConnection[...], so that each Kernel has it's own connection to the database. Note that this is different than creating a list of connections on the master and distributing them, which I definitely would not expect to work. I wonder how the above could work with version 7, though. Are you sure that with version 7 the ParallelTable was really executed in parallel?
Feb
25
answered How can I write image to MySQL database?
Feb
25
comment How can I write image to MySQL database?
@user5990: Export returns the full path to the file it wrote and that's what you are inserting into your database. If, as I guess, you want to write the file content instead of the filename you could e.g. use ExportString and ToCharacterCode to get a binary representation of the file content to insert into your database...
Feb
24
comment How to make DynamicModule work without an extra ENTER
@Nasser: I just have seen your comments -- and believe that Sjoerd has clarified most of what remained unclear. About the names of the local variables: I think that there are indeed two names generated for plot: During the kernel-evaluation plot will be localized, with a naming like plot$9944. Then when it is displayed, the FrontEnd takes over the control about variables local to DynamicModule and plot gets yet another name, something like FE'plot$$137. I don't think that this means you are using a global variable anywhere, though.
Feb
24
answered How to deal with units in logarithms?
Feb
24
answered How to make DynamicModule work without an extra ENTER
Feb
14
revised How can I get WhenEvent to recognize criterion I specify?
added 94 characters in body
Feb
13
answered How can I get WhenEvent to recognize criterion I specify?
Feb
13
comment Why is Mathematica limiting the execution time of my calculation?
as you say that the code works if called from the workbench, how exactly are you calling this functions (shift-evaluate, button, ...)? So far (?) I don't know of any global time constraints for shift-evaluation and would be very surprised if such constraints would have been introduced, for other ways to call your code I wouldn't be surprised if some default behavior might have changed...
Feb
13
answered Exporting interpolating functions to excel
Feb
8
awarded  Enlightened
Feb
8
awarded  Nice Answer
Feb
5
comment How to splice together several instances of InterpolatingFunction?
I think this is the most general approach and should work almost always. Whenever it works there is no reason to do something more complicated. There might be cases where one wants to do something more complicated -- e.g. for performance improvement. I think those cases are rare, though...
Feb
5
revised How to splice together several instances of InterpolatingFunction?
added 25 characters in body
Feb
5
answered Subtracting results of NDSolve
Feb
5
answered Using DSolve to solve for x[t,parameter]
Feb
5
answered How to splice together several instances of InterpolatingFunction?
Feb
3
comment Documentation searches hang frequently: Anyone else dealing with this?
I have seen the same problem with version 9.0.0 on Windows 7 64bit. I just downloaded version 9.0.1 and unfortunately the problem is still there. It probably is worth mentioning that the problem does only exist if the highlighted word is not a known Mathematica symbol.
Feb
3
comment Using DSolve to solve for x[t,parameter]
@user5708: I don't know how familiar you are with this site, but if you are happy with b.gatessucks answer you should accept it. If you expect more or different answers you could also wait with accepting. Ss the answer seems to do exactly what you want and is quite straightforward I woudn't expect more answers for this question, though...
Feb
3
comment Using DSolve to solve for x[t,parameter]
@rcollyer: o.k., I don't want to be nitpicking, I just think it will improve the question and probably help getting more answers if the title is corrected (although there now is a decent answer)...