1、环境设置
# GCC环境设置
export PATH=~/program/gcc/bin:$PATH
export LD_LIBRARY_PATH=~/program/gcc/lib
# Java环境设置
export JAVA_HOME=~/program/jdk1.6.0_32
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
# Android环境设置
export PATH=$PATH:~/program/android-sdk-linux/tools
export PATH=$PATH:/home/eda9/program/android-sdk-linux/platform-tools
export ANDROID_SDK_HOME=~/program # Android虚拟机目录
2、启动文档
#! /bin/bash
# Start Android
# 导入环境变量
source ~/program/bash
# 启动Eclipse
~/program/eclipse/eclipse &
emulator -avd android22 -scale 0.7 &
sleep 20
# 启动模拟器shell
adb shell
function[mseq] =m_sequence(fbconnection)
n=length(fbconnection) ;
N=2^n- 1;
reg =[zeros(1,n- 1) 1] ; %定义移位寄存器的初