How do I force a system without continuous states to use the ode3 Solver instead the fixed step discrete?

I created four simscape Models with a different amount of details in it and i have to compare them using various tests, including Hardware-in-the Loop after Code Generation.
For that reason i chose the Ode3 Solver to run the Systems on the hardware. Now i want to compare their impact on the CPU-Perfomance.All of the systems should use the same Solver for better comparability, but the simplest of the models i created automatically uses the fixed step discrete solver instead the ode3.
Is there a way for me to force the ode3 solver onto this system?

回答 (1 件)

Anshika Chourasia
Anshika Chourasia 2021 年 10 月 13 日
Hi,
For solver selection go to the Modelling -> Model Settings-> Solver pane and select the desired solver setting. Please refer the following link for more information: Setting Up Solvers for Physical Models - MATLAB & Simulink (mathworks.com).

カテゴリ

ヘルプ センター および File Exchange で Simulation Setup についてさらに検索

製品

リリース

R2020b

質問済み:

2021 年 9 月 28 日

回答済み:

2021 年 10 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by