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

查看help时,经常遇到打开某个模型, 在操作打开模型的命令时发现该模型不是有效路径,应该如何操作

 Accepted Answer

Xiaoning.Wang
Xiaoning.Wang on 9 Feb 2023

0 votes

addpath(fullfile(matlabroot,'/help/toolbox/autosar/examples'));
hModel = 'mControllerWithInterface_client';
open_system(hModel);

More Answers (1)

Xiaoning.Wang
Xiaoning.Wang on 9 Feb 2023

0 votes

dpath(fullfile(matlabroot,'/help/toolbox/autosar/examples'));

Categories

Products

Release

R2022b

Community Treasure Hunt

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

Start Hunting!