ojwoodford / batch_job

Parallelize MATLAB for loops across workers, without the Parallel Computing Toolbox
MIT License
18 stars 6 forks source link

Is there any way to run solvepde with batch_job (non numeric output?) #15

Open AnselmDr opened 2 years ago

AnselmDr commented 2 years ago

I want to run parallel simulations with the PDE toolbox because the parallel computing toolbox causes other issues. Unfortunately the result of solvepde is an object so batch_job produces an error message. It is caused by write_bin.m, line 2:

'Exporting non-numeric variables not supported'

Is there any way to fix that? One Idea of mine is that I just need one numerical array of the output object of solvepde. So would it maybe possible to just pass the array as an output?