Using local solvers in Simulink
古いコメントを表示
I am trying to use multiple solvers in Simulink, I use model referencing but it seems like simulink only allows to change the solvers of the top model and not the referenced models.
Does anybody know a way to use local solvers for each model reference ?
thank you for your time
回答 (3 件)
Sebastian Castro
2015 年 10 月 6 日
0 投票
You should be able to go into each of those models and access their configuration parameters separately. Is that not working? If so, why not?
- Sebastian
1 件のコメント
Sebastian Castro
2015 年 10 月 6 日
Ah yes, in that case you're on the right track. When you're setting up models for concurrent execution, they all share the same reference configuration set. In this case, you don't set the sample time in the same way. You want to use the following menus:
- Sebastian
4 件のコメント
Sebastian Castro
2015 年 10 月 6 日
First off: Please respond using comments and not a new answer. It's difficult to keep track of.
Secondly: Yes, Simulink itself will not execute on multiple cores. You can set up this concurrent execution to simulate the effects of multiple cores, but the multicore execution itself won't happen until you generate code.
To get actual multicore performance, you can do one of two things:
- Generate code from the configured model. This will give you a separate function for each different rate in the model. It is then up to you to use these generated functions and do the scheduling/multicore work yourself.
- Use Simulink Real-Time on a multicore machine, which will automatically assign each task to a separate core.
- Sebastian
Walten
2015 年 10 月 9 日
Walten
2015 年 10 月 9 日
mona aljeagdaf
2018 年 10 月 7 日
I have a problem choosing the type of solver in Simulink. Whenever I want to run the model does not work and ask me to change the type and variables of solver or ode and I have other frequently without reaching the solution please help
カテゴリ
ヘルプ センター および File Exchange で Multicore Processor Targets についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!