Using Estimate Parameter with a question
조회 수: 5 (최근 30일)
이전 댓글 표시
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
Torsten
2025년 8월 7일
편집: Torsten
2025년 8월 7일
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.
채택된 답변
S@m
2025년 8월 11일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!