Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Vehicle Dynamics model work space variable init?

1 vue (au cours des 30 derniers jours)
Daniel Doscher
Daniel Doscher le 17 Juin 2019
Clôturé : MATLAB Answer Bot le 20 Août 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?

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by