⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nlibpath.m

📁 matlab算法集 matlab算法集
💻 M
字号:
%----------------------------------------------------------------------
% Usage:       nlibpath
% Description: This command adds the NLIB toolbox to the Matlab path.
%----------------------------------------------------------------------

% Select drive containing NLIB

    clear
    clc
    drivelist = {'A','B','C','D','E','F','G','H','I','J','K','L','M'};
    drivenum = 3;
    drivenum  = listdlg('PromptString',...
                        'Select NLIB drive letter',...
                        'SelectionMode','single',...
                        'ListString',drivelist,...
                        'InitialValue',drivenum);

% Update path

    drive = char(abs('A') + drivenum-1);
    s = sprintf ('%c:\\nlib\\toolbox',drive);
    path(path,s)               % add NLIB toolbox to path
    s = sprintf ('%c:\\nlib\\exam_mat',drive);
    path(path,s)               % add NLIB examples to path
    s = sprintf ('%c:\\nlib\\prob_mat',drive);
    path(path,s)               % add NLIB problems to path
    s = sprintf ('%c:\\nlib\\user_mat',drive);
    path(path,s)               % add NLIB user folder to path
 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -