- Rename the parameters you are modifiing and reflect that name in the model.
- Remove the parameters of interest from the referenced model workspace (PassVeh14DOF for example).
Matlab Genetic Algorithm and Simulink Vehicles Dynamics Blockset
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I am currently working on a project where the goal is to optimize the lateral acceleration of a car around a specified course. We are using the genetic algorithm and the IncreasingSteer reference application, but are having an issue where values being sent to Simulink are not affecting the model. The variables are being sent to the Simulnk model via the GA cost function and appear in the ISReferenceApplication workspace. However, the model seems to use the values provided by the seperate referenced models (SIMappedEngineV, PassVeh14DOF, and Driveline) and not the actual application workspace. Is there any way to have the model use variables from its workspace instead of the referenced ones? When I tried sending the varibales directly to the PassVeh14DOF model it said the reference application could not run due to one of the refernced models not being updated. Would it be possible to send the variables directly to the PassVeh14DOF model without having the application update each model? I have been struggling with this issue for weeks now, any help would greatly be appreciated.
0 Kommentare
Antworten (1)
Jason Rodgers
am 15 Okt. 2021
Each of those models has their own workspace whcih take precident. There are a couple of ways to adress this.
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!