How can I quickly change my model from a variable-step-size to a fixed-step size in order to generate a .dll file using simulink coder?
5 次查看(过去 30 天)
显示 更早的评论
How can I quickly change my model from a variable-step-size to a fixed-step size in order to generate a .dll file using simulink coder? My target file only accepts fixed-step solver models.
0 个评论
回答(1 个)
Arnab Sen
2016-2-23
Hi Reese,
You can change the model from variable step size to fixed step size by changing the 'Solver options' from 'model configuration parameters'.
For doing so, navigate in the Simulink editor menu as below:
1. Simulation->Model Configuration Parameters
2.A Model Configuration Parameters window should open. In the left pane of the window select 'Solver'.
3. From the right pane in the 'Solver options' section select the 'Type' field as 'Fixed-step'.
4. Click 'Apply' .
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Configure Simulation Conditions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!