Info

此问题已关闭。 请重新打开它进行编辑或回答。

Vehicle Dynamics model work space variable init?

1 次查看(过去 30 天)
How can I find out where a varible within a simulink model is initialized?
I have been using the Vehicle Dynamic Blockset and have been trying to modify the example Simulink projects provided in the documentaton. There are a number of variables used in the blocks throughout the models. For example, in the 'SiMappedEngineV' model, there is a variable 'NCyl' (number of cylinder in the engine).
When I open the model explorer and look at the model workspace, I can see that 'NCyl' is set to 6. The problem is that I cannot find where this is decalred. The data source for the workspace is set to a model file, but where exactly in the model are these values stored/pulled from?

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by