Unable to assign Input Data in the Parameter Estimation tool

Hello everyone. I am trying to learn the parameter estimation tool in Simulink. However, I cannot figure out how to import the Input data. Output data is the only section that appears on screen. Every tutorial I encountered, like here: Estimate Parameters from Measured Data - MATLAB & Simulink - MathWorks Benelux , there is a distinct Input tab. Am I doing something wrong? I cannot find anyone else who had the same issue. Thx!

 Accepted Answer

Hi Ruben,
It seems that there is no root-level 'Inport' block in the SLX file. The 'Inputs' panel in the "Parameter Estimator" App is not displayed when there is no root-level 'Inport' block.
You can refer to the following documentation to learn more about 'Model Requirements for Importing Data':

3 Comments

Hi Nick, thank you for the answer.
I cannot get it working.
I do not know what you mean with "root-level" blocks, but I have a Inport block in my model as shown below.
This is a submodel, part of the control loop:
Also, I made sure Signal Logging is checked in the settings menu. I tried to made the signal arrows coming from the Inport block log the data via the property menu, but that doesn't make the Inport tab show up in the Parameter Estimator tool.
I appreciate your help already. Thanks in advance.
Hi Ruben,
The first file in the heirarchy is at the root-level. For example, in this case 'untitled' is at root-level.
Could you please share the SLX file of the model? This will reproduce the issue and investigate further.
Hi Nick,
As requested, I attached the .slx file of my model.
Okay, so maybe I need to detatch the whole submodel and put it in a new .slx file, first in the heirarchy?
Thank you.
UPDATE: This worked! An easy fix if you know what to do... Thanks for the knowledge, I will accept the answer.

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2024b

Asked:

on 30 Sep 2024

Edited:

on 3 Oct 2024

Community Treasure Hunt

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

Start Hunting!