MATLAB: Physical Connection (Physical Modeling)

r2010bsimdrivelinewindows xp

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.

Best Answer

I don't have experience with Physical Modeling, but I know that you can use the Simscape Language to build custom components.
Regarding importing data from spreadsheets, you can use the Signal Builder block to do this (use a Simulink-PS Converter to connect it to physical components).