필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Incorporating existing m-file of RHS into simulink

조회 수: 1 (최근 30일)
PHAM
PHAM 2012년 3월 9일
마감: MATLAB Answer Bot 2021년 8월 20일
I am quite new on using Simulink. My problem is quite simple but I am not sure having (and googling) the best issue for it... there is it: I want to create my own equation of motion based on the 6DOFs which is a 12 non linear-equation. In fact I've already have my RHS "dx = EOM(t,x,data)" which is a classical m-file. My question is how could I use this m-file into simulink (without recreating the model) and have simulink treats it as a non-linear. I know the best way is to use wind-axe 6DOFs built-in of the aeroblockset. But I would like to treat this like an example since if we have another non linear code (m-file, C , fortran)? Is the S-function block is the only way to do it? tks

답변 (0개)

이 질문은 마감되었습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by