Using Estimate Parameter with a question
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
This help document doesn't tell where this time1 comes from, I don't know what it means, I don't know if it's wrong here, everyone knows what data this time1 is?Thank you for you help.

5 commentaires
Torsten
le 7 Août 2025
Modifié(e) : Torsten
le 7 Août 2025
I don't have the necessary technical background, but I think "maps" usually represent the relationship between physical quantities in some kind of steady-state whereas the parameter estimation problem you referenced is based on data during a time-dependent process. So I don't think it's the correct tool for whatever you try to do, but I might be mistaken.
For stationary data, you better use some normal fitting tool like MATLAB's "fit", e.g.
Réponse acceptée
S@m
le 11 Août 2025
Hi
In the ‘Engine Throttle Model’, the variable ‘time1’ is a time series data containing the time instances at which throttle states such as the ‘throttle position’ are measured. This variable, along with the measured state data, are available in the MATLAB workspace (shown in the figure below). Every time you open the ‘Engine Throttle Model’ example in Simulink, these variables are automatically loaded into the MATLAB Workspace.

However, when working with a custom Simulink model such as the electric motor, you need to explicitly save the time variable to the MATLAB workspace by following these steps.
1) Click on the ‘MODELLING’ tab in Simulink and select ‘Model settings. In ‘Model settings’, choose ‘Data Import/Export’ option.
2) Enable the ‘Time’ option, assign a name for the variable and click ‘OK’ to save the changes (refer the below figure).
3) When you run the simulation, the above settings would save the time variable in an ‘out’ object in the MATLAB workspace. Double-click the ‘out’ object to find the time variable with the assigned name (shown in the figure below). This data can be used in the ‘Parameter Estimator’ App. 
For more information on exporting data to the workspace, refer to the below documentation link.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!