Physical Connection (Physical Modeling)
古いコメントを表示
How can I integrate custom code into Simulink and add a physical connections to the custom code blocks (such as those used in Simdriveline)?
I would like to use engine data (throttle position,torque,speed,and horsepower) from a spreadsheet in simulink and connect it to Simdriveline components.
採用された回答
その他の回答 (1 件)
Arnaud Miege
2011 年 4 月 28 日
1 投票
You can interface between Simulink and Simscape/SimDriveline (assuming you are using the new version of SimDriveline in R2011a)using the Simulink-PS Converter and the PS-Simulink Converter blocks. If however, you just want to use a look-up table approach, I would suggest using the PS Lookup Table (1D) or PS Lookup Table (2D) as they will allow you to stay within the Simscape environment and avoid introducing algebraic loops.
If you are using an older version of SimDriveline, then you will need to use blocks like Torque Actuator, Torque Sensor, Motion Actuator and Motion Sensor to interface between Simulink and SimDriveline.
HTH,
Arnaud
カテゴリ
ヘルプ センター および File Exchange で Foundation and Custom Domains についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!