I copied the commands from the matlab website and ran them, but an error occurred

조회 수: 5 (최근 30일)
I want to create a model of the Stewart platform in simulink, so I executed the command ”openExample('sm/StewartPlatformExample')” from the following website.
https://jp.mathworks.com/help/sm/ug/stewart-platform.html
However, some errror occurred.
Errors due to usage matlab.internal.examples.componentExamplesDir
argument "sm" is invalid.
error: findExample (11)
componentExamplesDir = matlab.internal.examples.componentExamplesDir(component);
error: openExample (30)
metadata = findExample(exampleId);
error: ar (1)
openExample('sm/StewartPlatformExample')
How can I execute this code?
This is code which is executed.
Best regards,
openExample('sm/StewartPlatformExample')

채택된 답변

COVAO
COVAO 2024년 1월 5일
MATLAB 2023bより、Simscape Multibodyのデモを開くコマンドが変更されています。
詳細は、以下に記載されています。
R2023a以前では、次のコマンドで開くことができます。
sm_stewart_platform
参考
R2023aのドキュメント
  댓글 수: 1
勇河 伊藤
勇河 伊藤 2024년 1월 11일
ご回答いただきありがとうございます.
おかげでとても助かりました.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simscape Multibody에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!