system
Description
Examples
Connect to Xilinx SoC Board from MATLAB
Create a hardware processor object to connect to a Xilinx® SoC board. You can use the object to perform basic Linux shell operations on the SoC board.
Create a Xilinx processor hardware object and connect to the processor on-board the Xilinx SoC board.
p = xilinxsoc('192.168.1.101', 'root', 'root');
Run the uname
command in a Linux shell on the SoC board by
using the xilinxsoc
object function
system
.
system(p, 'uname')
ans = 'Linux'
Input Arguments
p
— Connection to processor on SoC board
xilinxsoc
object | intelsoc
object
command
— Linux Command
character vector | string scalar
Linux shell command that you want to run on your SoC board. You can run multiple different Linux system commands, such as listing files in a directory, displaying information about the system, or creating a new directory.
Example: 'ls -al'
Example: 'uname'
Output Arguments
result
— Result of system command
character vector
Output of the system command run in the Linux shell on your connected SoC board. If there
is no output based on the system command you run,
result
is an empty character vector.
Version History
Introduced in R2022a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)