ads_env call of SetExecutablePath failed! Reason: Configuration is invalid!

5 ビュー (過去 30 日間)
WEI
WEI 2024 年 4 月 12 日
回答済み: Jack 2025 年 5 月 8 日

回答 (1 件)

Jack
Jack 2025 年 5 月 8 日
That error is coming straight from the Keysight-ADS integration layer, and it simply means you haven’t loaded a valid ADS configuration before trying to set the ADS executable. Here’s the shortest fix:
  1. Load an ADS configuration (the one that points at your installed ADS version) before setting the
ads_env('LoadConfiguration','default'); % or the name of your ADS profile
  1. Then tell MATLAB where the ADS EXE lives:
ads_env('SetExecutablePath',...
'C:\Program Files\Keysight\ADS2023\bin\ADS.exe');
If you skip step 1, SetExecutablePath has no “configuration” to hang on to, so it gives you “Configuration is invalid!”
—If you’re not sure what configurations are available, just run
ads_env('ListConfigurations')
and pick one of the names it returns.
Follow me so you can message me anytime with future questions. If this helps, please accept the answer and upvote it as well.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by