function getReal input ExternalMemoryLib.ExternalMemoryReal arr; input Integer idx; input Real timeIn; output Real val; end getReal;