探索在“使用statflow入门”视频中创建的模型。
//www.tatmou.com/videos/getting-started-with-stateflow-1608719415568.html
model1_batteryFirst.slx- Model using the battery if there is any charge.
model2_smartDecision.slx- Model using the battery only during peak hours, or when the signal from the Weather Detector indicates it has been sunny.
所有模型都在R2020b中创建并保存。如果你正在使用一个较早的版本,在打开任何模型之前做以下工作:
(1)单击MATLAB工具条的Home选项卡中的Preferences。
(2)在Preferences对话框中,选择Simulink窗格,然后单击Open 金宝appSimulink Preferences。
(3)在Simulin金宝appk Preferences对话框中,选择Model File窗格。
(4)清除“不要加载用新版本的Simulink创建的模型”选项。金宝app
引用作为
戴夫古格列尔莫(2021)。“开始使用statflow”示例文件GitHub (https://github.com/mathworks/getting-started-with-stateflow/releases/tag/1.0.2)。检索.