How can I copy Onramp model to my project?

조회 수: 1 (최근 30일)
경민 박
경민 박 2021년 10월 22일
답변: Rishabh Singh 2021년 11월 2일
[Stateflow Onramp: Chapter11: Project-Robotic Vacuum Driving Modes]
If I want to use models in Onramp courses, what should I do?
I tried by copying whole model (except Assessment Blocks) and saving all variables from the workspace.
But, when I click the run button, the error comes out.
error is like below:
Error in 'onramp robotic vacuum/MATLAB Function' (line 7)
oH = evalin('base','orientationHandle');
  댓글 수: 2
Star Strider
Star Strider 2021년 10월 22일
Those of us on MATLAB Answers are not likely to be able to solve this for you.
I suggest that you Contact Support and include the URL of this thread so that you do not have to repeat everything you wrote here in your note to MathWorks.
.
경민 박
경민 박 2021년 10월 25일
Thank you very much!

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

답변 (1개)

Rishabh Singh
Rishabh Singh 2021년 11월 2일
You can "save as" the model and save it to use it. But you have to first complete the "chapter" to save the complete model. Any workspace variable loading functions/ startup functions should also be saved in the similar fashion.
Hope this helps

카테고리

Help CenterFile Exchange에서 Complex Logic에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by