MATLAB Answers

Vehicle Dynamics model work space variable init?

3 views (last 30 days)
Daniel Doscher
Daniel Doscher on 17 Jun 2019
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?


Sign in to comment.

Answers (0)