Set initial conditions for S-function
조회 수: 4 (최근 30일)
이전 댓글 표시
Hello. I'm doing an attitude control project in Simulink and I'd like to implement initial conditions automatically in an S-function block, using some parameter I give to the system. Is there a way to do that?
Thank you very much.
Ca
댓글 수: 0
답변 (1개)
Rutuja Shirali
2015년 12월 7일
Hello CaG,
I assume that you have a system which is represented using a S-function block and you want to initialize the states in that system using the S-function. You can do this using the "mdlInitializeConditions" more information about this can be found here:
Moreover if you have a LTI system, you can use the LTI block do the same.
-Rutuja
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Block and Blockset Authoring에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!