在Beaglebone中启动时运行matlab代码

在Beaglebone中启动时运行matlab代码,matlab,beagleboneblack,Matlab,Beagleboneblack,目前,我正在使用beaglebone连接到PC并执行Matlab代码。如果我在Matlab中执行代码,那么当它连接到PC时,它会自动在beaglebone中运行。但是如何在启动时运行Matlab代码?我知道在启动时将matlab代码文件放在scrpits中。但是,在beaglebone中执行脚本文件时,我没有看到任何.m或matlab文件

目前,我正在使用beaglebone连接到PC并执行Matlab代码。如果我在Matlab中执行代码,那么当它连接到PC时,它会自动在beaglebone中运行。但是如何在启动时运行Matlab代码?我知道在启动时将matlab代码文件放在scrpits中。但是,在beaglebone中执行脚本文件时,我没有看到任何.m或matlab文件