I encounter a problem with the attached MATLAB and SIMULINK code. Undefined variable "ParameterEstimator" or class "ParameterEstimator.TransientExperiment". I understand that the simple code was written in R2010b, and that may be an issue. I am using R2016a. IS this a version issue?

댓글 수: 1

Samarapreet Singh
Samarapreet Singh 2021년 11월 12일
hi, were you able to get the BW_pinch.m file to run?

댓글을 달려면 로그인하십시오.

 채택된 답변

Walter Roberson
Walter Roberson 2017년 5월 16일
편집: Walter Roberson 2017년 5월 16일

0 개 추천

In R2017a, ParameterEstimator.TransientExperiment still exists, but is indicated as being replaced by sdo.Experiment and related tools.
ParameterEstimator.TransientExperiment is part of Simulink Design Optimization, which is an add-on package that is not part of basic Simulink.

댓글 수: 2

JP
JP 2017년 6월 13일
편집: JP 2017년 6월 13일
Hi Walter, Thanks for your kind reply. I installed the Simulink Design Optimization, however, on running the M file, the error persists, as below.
Undefined variable "ParameterEstimator" or class "ParameterEstimator.TransientExperiment".
Error in BW_pinch (line 38) hExp = ParameterEstimator.TransientExperiment('BWBNpinch');
Please use
ver('sldo')
license('test','Simulink_Design_Optim')
to check that you have the appropriate product installed and licensed.
Note: the two files you posted are not enough in themselves to run the model: the variable ttot is not defined, and various inputs such as Ao are not defined.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink Design Optimization에 대해 자세히 알아보기

질문:

JP
2017년 5월 16일

댓글:

2021년 11월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by