Info

This question is closed. Reopen it to edit or answer.

Vehicle Dynamics model work space variable init?

1 view (last 30 days)
Daniel Doscher
Daniel Doscher on 17 Jun 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
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?

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!