Can i code nonlinear system simulation in matlab ?
이전 댓글 표시
Hello everybody
i am trying to simulate a non linear system that work proper in simulink with matlab code.
system shows in picture below:

i have a system that get input for state space and the outputs are two variables(Displacement and Velocity) .this two variable are inputs of fuzzy inference system and outputs this system is input of state space in next step time.
can i code this system with m files' matlab without simulink ?
댓글 수: 3
José-Luis
2017년 8월 9일
Divide the work in smaller bits and work on them one at a time. Feel free to ask questions here if you get stuck.
If you meant to ask if one can automagically transform a Simulink model into Matlab code then no.
If you want someone to do your job, then you are probably in the wrong place.
saeed mazloomi
2017년 8월 10일
Yuanning Mao
2020년 5월 26일
Hi Saeed,
I am interested in your post as I am currently facing the same issue.
Ithink that if will be helpful if you check on the use of feedback in between 2 systems, in which essentially treating the controiler as a state space system as well. The link is provided as: https://www.mathworks.com/help/control/ref/feedback.html
Could you please share your method if you happened to solve it? Much appreciate.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Optimization에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!