返回首页

matlab搜寻路径 代码

时间:2012-04-27 21:25来源:知行网www.zhixing123.cn 编辑:麦田守望者

test.m所在的目录是c:\data\mlbook。如果不先进入这个目录,MATLAB就找不到你要执行的M档案。如果希望MATLAB不论在何处都能执行test.m,那麽就必须将d:\mlbook加入MATLAB的搜寻路径(Search path)上。要检视MATLAB的搜寻路径,键入path即可:

path


MATLABPATH

C:\Users\用户名\Documents\MATLAB

D:\Program Files\MATLAB\R2010b\toolbox\matlab\general

D:\Program Files\MATLAB\R2010b\toolbox\matlab\ops

D:\Program Files\MATLAB\R2010b\toolbox\matlab\lang

D:\Program Files\MATLAB\R2010b\toolbox\matlab\elmat

D:\Program Files\MATLAB\R2010b\toolbox\matlab\randfun

D:\Program Files\MATLAB\R2010b\toolbox\matlab\elfun

D:\Program Files\MATLAB\R2010b\toolbox\matlab\specfun

D:\Program Files\MATLAB\R2010b\toolbox\matlab\matfun

D:\Program Files\MATLAB\R2010b\toolbox\matlab\datafun

D:\Program Files\MATLAB\R2010b\toolbox\matlab\polyfun

D:\Program Files\MATLAB\R2010b\toolbox\matlab\funfun

D:\Program Files\MATLAB\R2010b\toolbox\matlab\sparfun

D:\Program Files\MATLAB\R2010b\toolbox\matlab\scribe

D:\Program Files\MATLAB\R2010b\toolbox\matlab\graph2d

D:\Program Files\MATLAB\R2010b\toolbox\matlab\graph3d

D:\Program Files\MATLAB\R2010b\toolbox\matlab\specgraph

D:\Program Files\MATLAB\R2010b\toolbox\matlab\graphics

D:\Program Files\MATLAB\R2010b\toolbox\matlab\uitools

D:\Program Files\MATLAB\R2010b\toolbox\matlab\strfun

D:\Program Files\MATLAB\R2010b\toolbox\matlab\imagesci

D:\Program Files\MATLAB\R2010b\toolbox\matlab\iofun

D:\Program Files\MATLAB\R2010b\toolbox\matlab\a iovideo

D:\Program Files\MATLAB\R2010b\toolbox\matlab\timefun

D:\Program Files\MATLAB\R2010b\toolbox\matlab\datatypes

D:\Program Files\MATLAB\R2010b\toolbox\matlab\verctrl

D:\Program Files\MATLAB\R2010b\toolbox\matlab\codetools

D:\Program Files\MATLAB\R2010b\toolbox\matlab\helptools

D:\Program Files\MATLAB\R2010b\toolbox\matlab\winfun

D:\Program Files\MATLAB\R2010b\toolbox\matlab\winfun\NET

D:\Program Files\MATLAB\R2010b\toolbox\matlab\demos

D:\Program Files\MATLAB\R2010b\toolbox\matlab\timeseries

D:\Program Files\MATLAB\R2010b\toolbox\matlab\hds

D:\Program Files\MATLAB\R2010b\toolbox\matlab\guide

D:\Program Files\MATLAB\R2010b\toolbox\matlab\plottools

D:\Program Files\MATLAB\R2010b\toolbox\local

D:\Program Files\MATLAB\R2010b\toolbox\matlab\datamanager

D:\Program Files\MATLAB\R2010b\toolbox\shared\simulink

D:\Program Files\MATLAB\R2010b\toolbox\shared\instrument

D:\Program Files\MATLAB\R2010b\toolbox\matlabxl\matlabxl

D:\Program Files\MATLAB\R2010b\toolbox\simulink\simulink

D:\Program Files\MATLAB\R2010b\toolbox\simulink\simulink\slresolve

D:\Program Files\MATLAB\R2010b\toolbox\simulink\blocks

D:\Program Files\MATLAB\R2010b\toolbox\simulink\components

D:\Program Files\MATLAB\R2010b\toolbox\simulink\fixedandfloat

D:\Program Files\MATLAB\R2010b\toolbox\simulink\fixedandfloat\fxpdemos

D:\Program Files\MATLAB\R2010b\toolbox\simulink\fixedandfloat\obsolete

D:\Program Files\MATLAB\R2010b\toolbox\simulink\simdemos

D:\Program Files\MATLAB\R2010b\toolbox\simulink\simdemos\aerospace

D:\Program Files\MATLAB\R2010b\toolbox\simulink\simdemos\automotive

D:\Program Files\MATLAB\R2010b\toolbox\simulink\simdemos\industrial

D:\Program Files\MATLAB\R2010b\toolbox\simulink\simdemos\simfeatures

D:\Program Files\MATLAB\R2010b\toolbox\simulink\simdemos\simgeneral

D:\Program Files\MATLAB\R2010b\toolbox\simulink\dee

D:\Program Files\MATLAB\R2010b\toolbox\shared\gl

D:\Program Files\MATLAB\R2010b\toolbox\shared\gl\st io

D:\Program Files\MATLAB\R2010b\toolbox\shared\dast io\depviewer

D:\Program Files\MATLAB\R2010b\toolbox\stateflow\stateflow

D:\Program Files\MATLAB\R2010b\toolbox\rtw\rtw

D:\Program Files\MATLAB\R2010b\toolbox\shared\sigbldr

D:\Program Files\MATLAB\R2010b\toolbox\simulink\simulink\MPlayIO

D:\Program Files\MATLAB\R2010b\toolbox\simulink\simulink\dataobjectwizard

D:\Program Files\MATLAB\R2010b\toolbox\shared\hdlshared

D:\Program Files\MATLAB\R2010b\toolbox\rtw\accel

D:\Program Files\MATLAB\R2010b\toolbox\rtw\targets\shared

D:\Program Files\MATLAB\R2010b\toolbox\simulink\simulink\modeladvisor

D:\Program Files\MATLAB\R2010b\toolbox\simulink\simulink\modeladvisor\fixpt

D:\Program Files\MATLAB\R2010b\toolbox\stateflow\sfdemos

D:\Program Files\MATLAB\R2010b\toolbox\stateflow\coder

D:\Program Files\MATLAB\R2010b\toolbox\rtw\rtwdemos

D:\Program Files\MATLAB\R2010b\toolbox\rtw\rtwdemos\rsimdemos

D:\Program Files\MATLAB\R2010b\toolbox\rtw\targets\asap2\asap2

D:\Program Files\MATLAB\R2010b\toolbox\rtw\targets\asap2\asap2\user

D:\Program Files\MATLAB\R2010b\toolbox\rtw\targets\common\can\blocks

D:\Program Files\MATLAB\R2010b\toolbox\rtw\targets\common\tgtcommon

D:\Program Files\MATLAB\R2010b\toolbox\rtw\targets\connectivity

D:\Program Files\MATLAB\R2010b\toolbox\rtw\targets\pil

D:\Program Files\MATLAB\R2010b\toolbox\rtw\rtw\datadiff\GUI

D:\Program Files\MATLAB\R2010b\toolbox\rtw\rtw\datadiff\GUI\Icons

D:\Program Files\MATLAB\R2010b\toolbox\rtw\rtw\datadiff\API

D:\Program Files\MATLAB\R2010b\toolbox\rtw\rtw\cgv\API

D:\Program Files\MATLAB\R2010b\toolbox\rtw\rtw\misra

D:\Program Files\MATLAB\R2010b\toolbox\rtw\targets\rtwin\rtwin

D:\Program Files\MATLAB\R2010b\toolbox\rtw\targets\rtwin\rtwindemos

D:\Program Files\MATLAB\R2010b\toolbox\idelink\extensions\adivdsp

D:\Program Files\MATLAB\R2010b\toolbox\idelink\extensions\adivdsp\util

D:\Program Files\MATLAB\R2010b\toolbox\idelink\extensions\adivdsp\vdspdemos

D:\Program Files\MATLAB\R2010b\toolbox\idelink\extensions\adivdsp\mdlinfo

D:\Program Files\MATLAB\R2010b\toolbox\idelink\extensions\adivdsp\tfl

D:\Program Files\MATLAB\R2010b\toolbox\idelink\extensions\adivdsp\vdspblks

D:\Program Files\MATLAB\R2010b\toolbox\idelink\extensions\adivdsp\rtw

D:\Program Files\MATLAB\R2010b\toolbox\aero\aero

D:\Program Files\MATLAB\R2010b\toolbox\shared\mapgeodesy

D:\Program Files\MATLAB\R2010b\toolbox\aeroblks\aeroblks

D:\Program Files\MATLAB\R2010b\toolbox\aeroblks\aerodemos

D:\Program Files\MATLAB\R2010b\toolbox\aeroblks\aerodemos\texture

D:\Program Files\MATLAB\R2010b\toolbox\aero\astdemos

D:\Program Files\MATLAB\R2010b\toolbox\shared\asynciolib

D:\Program Files\MATLAB\R2010b\toolbox\rtw\targets\AUTOSAR\AUTOSAR

D:\Program Files\MATLAB\R2010b\toolbox\bioinfo\bioinfo

D:\Program Files\MATLAB\R2010b\toolbox\bioinfo\biolearning

D:\Program Files\MATLAB\R2010b\toolbox\bioinfo\microarray

D:\Program Files\MATLAB\R2010b\toolbox\bioinfo\mass_spec

D:\Program Files\MATLAB\R2010b\toolbox\bioinfo\proteins

D:\Program Files\MATLAB\R2010b\toolbox\bioinfo\biomatrices

D:\Program Files\MATLAB\R2010b\toolbox\bioinfo\biodemos

D:\Program Files\MATLAB\R2010b\toolbox\bioinfo\graphtheory

D:\Program Files\MATLAB\R2010b\toolbox\target\extensions\processor\blackfin

D:\Program Files\MATLAB\R2010b\toolbox\target\extensions\processor\blackfin\blks

D:\Program Files\MATLAB\R2010b\toolbox\target\extensions\processor\blackfin\blks\mex

D:\Program Files\MATLAB\R2010b\toolbox\target\extensions\processor\blackfin\blks\masks

D:\Program Files\MATLAB\R2010b\toolbox\target\extensions\processor\blackfin\blackfindemos

D:\Program Files\MATLAB\R2010b\toolbox\rtw\targets\c166\c166

D:\Program Files\MATLAB\R2010b\toolbox\rtw\targets\c166\blocks

D:\Program Files\MATLAB\R2010b\toolbox\rtw\targets\c166\c166demos

D:\Program Files\MATLAB\R2010b\toolbox\target\foundation\utils\resource_config

D:\Program Files\MATLAB\R2010b\toolbox\shared\can

------分隔线----------------------------
标签(Tag):MATLAB Matlab技巧 Matlab实例教程 matlab源代码 matlab基础教程
------分隔线----------------------------
推荐内容
猜你感兴趣