help for forcing simulink in order to run using ode4 (RG4)

Dear all,
I have generate a motor model according to dq reference frame theory. The model is run without any problem, but I must set the solver options as ode4 (Runge-Kutta) and 5e-3 for Fixed-step size parameter. When I set these values, simulink model output is wrong. The result is equal to zero for all running time. However, I have to run this model using RG4 and 5e-3 step size, inasmuch as model will be combinated with another model which isnot belong to me and has same solver specifications.
Is there any additional setting for the mentioned solver type so as to make simulink solve it true.
I need immediate help.
Thanks in advance,
Regards, Fahri

Answers (0)

This question is closed.

Products

Release

R2013a

Asked:

on 10 Sep 2021

Closed:

on 7 Mar 2023

Community Treasure Hunt

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

Start Hunting!