Cluster profile for deployed apps
1 次查看(过去 30 天)
显示 更早的评论
I have an app (standalone app compiled using MATLAB Compiler) running on machines where MATLAB is not installed. The app uses Parallel Computing Toolbox. Hence, how do I create a "Cluster Profile" programmatically? Are there other ways to do this? Thanks.
0 个评论
回答(2 个)
Hitesh Kumar Dasika
2019-2-21
Hi Adam
You can make use of the cluster object properties and set them similar to how they will be set using Cluster Profile Manager. Please find the attached documentation links that talk about the same.
You can also access specific cluster profiles with the help of following functions.
0 个评论
Adam Gogacz
2019-2-21
编辑:Adam Gogacz
2019-2-21
2 个评论
Hitesh Kumar Dasika
2019-2-21
Hi Adam
You can do the modifications to cluster object by using the cluster properties as well. You can set the properties as part of the code by using the cluster object itself. Below is a small example of what I meant.
>> c = parcluster('local')
>>c.NumThreads = 10
>>c.NumWorkers = 10
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Third-Party Cluster Configuration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!