How to proper configure my m code to run in Simulink, I would really appreciate your help, been stuck here for a long now.
1 view (last 30 days)
Show older comments
Greetings.
I am trying to run an ODE in Simulink. I have read a lot of documentation and I have tried a lot to make it work but I have had no luck, so any expert on the topic I would really appreaciate. My goal is to use an input into a Matlab function block and that input will be the input for my function.
function [x1,y1] = input(uin)
steer=uin;
[x1,y1]=bicycle2;
end
<</matlabcentral/answers/uploaded_files/
0 Comments
Answers (1)
Walter Roberson
on 25 Jul 2016
Please read http://www.mathworks.com/help/matlab/ref/ode45.html#inputarg_tspan about what size is returned.
0 Comments
See Also
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!