How to open the Lane following using NMPC example on Matlab R2018a?

2 ビュー (過去 30 日間)
Sai Rajeev Deavaragudi
Sai Rajeev Deavaragudi 2018 年 11 月 25 日
回答済み: Mark McBroom 2018 年 11 月 25 日
I am unable to open the Lane following Using Nonlinear Model Predictive Control example on R2018a. The open example command is not able to find the exact file and it throws an error. I checked my license file and I have both the MPC toolbox and also the optimization toolbox.
Link to example -
https://www.mathworks.com/help/mpc/ug/lane-following-using-nonlinear-model-predictive-control.html
openExample('mpc/LaneFollowingUsingNMPCExample')
Error using findExample (line 35)
Example "LaneFollowingUsingNMPCExample" not found in "C:\Program Files\MATLAB\R2018a\examples\mpc\examples.xml".
Error in setupExample (line 5)
metadata = findExample(arg);
Error in openExample (line 10)
[workDir,metadata] = setupExample(varargin{:});
%also tried this
openExample('mpc_featured/LaneFollowingUsingNMPCExample')
Error using findExample (line 35)
Example "LaneFollowingUsingNMPCExample" not found in "C:\Program Files\MATLAB\R2018a\examples\mpc_featured\examples.xml".
Error in setupExample (line 5)
metadata = findExample(arg);
Error in openExample (line 10)
[workDir,metadata] = setupExample(varargin{:});

採用された回答

Mark McBroom
Mark McBroom 2018 年 11 月 25 日
This example is not available in R2018a. It is available in R2018b.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeController Creation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by