フィルターのクリア

How to resolve - An error occurred ('Simulink​:modelRefe​rence:Targ​etUpdateEr​ror') when calling 'sim':

44 ビュー (過去 30 日間)
MAHENDRAN A
MAHENDRAN A 2023 年 8 月 8 日
回答済み: Keshav 2023 年 8 月 22 日
When I'm doing SIL testing for a controller model, I get these errors. Help me resolving these errors.
An error occurred ('Simulink:modelReference:TargetUpdateError') when calling 'sim':
Block 'pidctrl/Subsystem/Transfer Fcn' uses continuous time, which is not supported with the current configuration

回答 (1 件)

Keshav
Keshav 2023 年 8 月 22 日
Hi Mahendran,
I understand that you are encountering an error during SIL testing for a controller model.
The error message,
"An error occurred ('Simulink:modelReference:TargetUpdateError') when calling 'sim': Block 'pidctrl/Subsystem/Transfer Fcn' uses continuous time, which is not supported with the current configuration"
indicates a compatibility issue with a block in your controller model. Specifically, the block “pidctrl/Subsystem/Transfer Fcn”
is using continuous time, which is not supported in the current configuration.
To resolve this error, verify the configuration settings of the Transfer Fcn block within the pidctrl/Subsystem. Make sure that the block is set to use a discrete-time implementation instead of continuous time.
You can check the sample times in your model to see which ones are continuous and need to be adjusted. To learn how to display the sample time in your model, you can refer to the below MathWorks documentation.
I hope this information helps!

カテゴリ

Help Center および File ExchangeInputs についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by