Borrar filtros
Borrar filtros

How can I copy Onramp model to my project?

3 visualizaciones (últimos 30 días)
경민 박
경민 박 el 22 de Oct. de 2021
Comentada: 王传洋 el 23 de Mayo de 2024
[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');
  3 comentarios
경민 박
경민 박 el 25 de Oct. de 2021
Thank you very much!
王传洋
王传洋 el 23 de Mayo de 2024
您好,请问这个问题怎么解决的?我也遇到了同样的问题

Iniciar sesión para comentar.

Respuestas (1)

Rishabh Singh
Rishabh Singh el 2 de Nov. de 2021
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

Categorías

Más información sobre Complex Logic en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by