Set initial conditions for S-function
2 次查看(过去 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!