Using parallel workers to edit same Simulink model?
1 次查看(过去 30 天)
显示 更早的评论
Is it possible to use a parfor loop to execute commands like 'add_block' to a single Simulink model? In which, all parallel workers are operating on the same model.
0 个评论
采纳的回答
Edric Ellis
2019-2-6
In short: no - you cannot make simultaneous changes to a single Simulink model file from multiple processes (i.e. the multiple MATLAB workers executing your parfor loop). What you might be able to do is have each worker operate on a separate Simulink library file, but it's not clear what you're trying to achieve.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parallel Computing Fundamentals 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!