How to specify mat file version for cloud cluster simulations using batchsim

I am performing simulations in a cloud cluster. I do it something like the following example:
in(1:5) = Simulink.SimulationInput("test_model");
for i = 1:5
in(i) = in(i).setBlockParameter("test_model/Constant",'Value',num2str(i));
end
batchsim(in, 'Pool', 5)
The simulations are long and the output is very large (5 to 7 GB). Hence I am getting the following error:
Error: The task result was too large to be stored.
In my local machine I set the mat file version to 7.3 and this works. But I don't know how to do something similar for the cloud cluster.

1 Comment

Which sort of "cloud cluster" are you using? If you're using a Cloud Center cluster, there should be no restriction on task result sizes. If you get a problem there, please let us know. If you're using some other sort of cluster in the cloud, please could you give details.

Sign in to comment.

Answers (0)

Categories

Products

Release

R2021a

Asked:

on 8 Jan 2023

Commented:

on 9 Jan 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!