Clear Filters
Clear Filters

state flow入门之旅中的诸多疑问

10 views (last 30 days)
王传洋
王传洋 on 23 May 2024
Commented: Yifeng Tang on 5 Jun 2024
stateflow入门之旅最后的扫地机器人模型中
1.为什么直接复制模型到自己的空白模型,仿真时会出问题?
2.图中标红的涉及的是simulink吗?可以解释一下红色区域的含义吗?
3.为什么仿真时间设置的是300s,300s之后模型的球一直在一个点转动,而不往其他的地方运动?

Answers (1)

Yifeng Tang
Yifeng Tang on 5 Jun 2024
应该是workspace的问题,红色阴影表示有缺失的参数值。Simulink模型的参数可能在 Base Workspace, Model Workspace 或者是 mask local workspace (你这里不会是最后这个情况),可以参考这个文档:https://www.mathworks.com/help/simulink/ug/using-model-workspaces.html
左边红框是在计算距离角度之类的信息,右边的红框是机器人行动的物理模型。

Categories

Find more on 复杂逻辑 in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!