simulink 如何添加不存在当前路径

5 次查看(过去 30 天)
Xiaoning.Wang
Xiaoning.Wang 2023-2-9
查看help时,经常遇到打开某个模型, 在操作打开模型的命令时发现该模型不是有效路径,应该如何操作

采纳的回答

Xiaoning.Wang
Xiaoning.Wang 2023-2-9
addpath(fullfile(matlabroot,'/help/toolbox/autosar/examples'));
hModel = 'mControllerWithInterface_client';
open_system(hModel);

更多回答(1 个)

Xiaoning.Wang
Xiaoning.Wang 2023-2-9
dpath(fullfile(matlabroot,'/help/toolbox/autosar/examples'));

类别

Help CenterFile Exchange 中查找有关 搜索路径 的更多信息

产品


版本

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!