Collect Hardware Specifications from Android Device
Many of the blocks provided in the Simulink® Support Package for Android® Devices requires the hardware specifications of your Android device, such as the available screen resolutions for the Camera block.
To get the hardware specifications from your Android device, the hardware setup installs and runs a test app on your Android
device. The test app creates an XML
file containing your device
hardware specifications. To view the location of this file, enter the following code in
the MATLAB® command window.
fullfile(prefdir,'MWAndroidDeviceInfo')
The hardware specification file is named after your device serial number, for example,
233507b.xml
.
Warning
Do not modify or delete this file. Some features of the support package are device-specific and require this hardware specification file.
A separate XML
gets generated for each device configured using the
hardware setup process.