Geeting warning like "Unable to locate check "mathworks​.slcontrol​frest.time​varyingsou​rces"" . Why it occurs?

3 ビュー (過去 30 日間)
Vijaykumar Mahajan
Vijaykumar Mahajan 2019 年 11 月 21 日
編集済み: arushi 2024 年 8 月 26 日
Warning: Unable to locate check "mathworks.slcontrolfrest.timevaryingsources" specified by "Identify
time-varying source blocks interfering with frequency response estimation" when loading configuration
C:\Projects\gtee_autosar\Compositions\Hitch\trunk\GTEEToolLib\ModelAdvisor\GTEE_Checks\GTEE_Checks.mat.
This might be due to a missing sl_customization.m file or toolboxes that are not installed.
> In DAStudio.warning (line 28)
In Simulink.ModelAdvisor/loadConfiguration
In modeladvisorutil2
In modeladvisorprivate
In Advisor.Manager/copySlCustomizationData
In Simulink.ModelAdvisor/initData>loc_initTaskAdvisor
In Simulink.ModelAdvisor/initData
In Simulink.ModelAdvisor/init
In Advisor.Application/updateModelAdvisorObj
In Advisor.Application/loadConfiguration
In ModelAdvisor_MBSD (line 106)

回答 (1 件)

arushi
arushi 2024 年 8 月 26 日
編集済み: arushi 2024 年 8 月 26 日
Hi Vijaykumar,
The warning message you're encountering indicates that the Model Advisor is unable to locate a specific check, "mathworks.slcontrolfrest.timevaryingsources", which is part of a configuration file you are trying to load. This issue can arise due to several reasons, such as missing files, toolboxes, or incorrect paths. Here's how you can troubleshoot and resolve this warning:
Verify Toolbox Installation:
  • The check "mathworks.slcontrolfrest.timevaryingsources" is related to frequency response estimation, which is typically part of the Simulink Control Design toolbox. Ensure that this toolbox is installed and licensed on your system.
  • You can verify installed toolboxes by running ver in the MATLAB Command Window, which lists all installed toolboxes.
Check for sl_customization.m File:
  • The sl_customization.m file is used to define custom checks and configurations for the Model Advisor. Ensure that this file is present in your MATLAB path and correctly configured.
  • If you're using custom checks, verify that the sl_customization.m file includes the necessary code to register these checks.
Verify File and Path:
  • Ensure that the path to the configuration file GTEE_Checks.mat is correct and that the file exists at the specified location.
  • Check that the directory containing GTEE_Checks.mat is included in the MATLAB path. You can add it using addpath('C:\Projects\gtee_autosar\Compositions\Hitch\trunk\GTEEToolLib\ModelAdvisor\GTEE_Checks').
Update Model Advisor Configuration:
  • If you have updated or moved your project, ensure that the Model Advisor configuration is up-to-date and points to the correct files and directories.
  • You may need to reload or recreate the configuration if paths or files have changed.
Hope this helps.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by