📄 startup.m
字号:
%This is a template for the startup.m file.%%Matlab automatically starts a session by running the script startup.m,%invoking this file if it is in your Matlab path. In Windows, this%file will probably be called C:\matlab\bin\startup.m or maybe%C:\matlab\R12\work\startup.m. In Unix, this file should be in%~/matlab/startup.m%%The code below will find and run the defineTOSEnvironment script,%which should always be called before using tinyOS with matlab.%This is useful if you don't want to run the defineTOSEnvironment%script by hand each time you start matlab.[flag, value] = system('ncc -print-tosdir');if(flag==0) addpath([value(1:end-1) '/../tools/matlab']); defineTOSEnvironment;else error('Cant find the defineTOSEnvironment file') returnend
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -