How to create ROS Messages in Octave

Can you please provide an Octave example of sensor_msg/IMG and multiarrayint16 without copying data from an input port?