Matlab parameters change when i run simulink model?
古いコメントを表示
Hi there,
As part of a uni coursework we have had to create a model of a vehicle drivetrain. I have done this in simulink and fairly sure it is correct as i got the answer i recieved. Then based on experimental data i used the parameter estimation in Simulink to tune the parameters. I then updated said parameters in the original Matlab parameter file. However, when I then go to rerun the simulation the parameters I've updated change back to their original values. Could someone please help me stop this, it's driving me mad :P
Kind regards,
Matthew
2 件のコメント
Divya Yerraguntla
2020 年 1 月 6 日
Hi Matthew,
Could you check if you ran the MATLAB parameter file after updating the parameters in the file and before running the SIMULINK model because if the MATLAB workspace is'nt updated with the new parameter values then iy will keep using the old values from workspace.
Matthew Price
2020 年 1 月 6 日
回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!