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

7 Ansichten (letzte 30 Tage)
WEI
WEI am 12 Apr. 2024
Beantwortet: Jack am 8 Mai 2025

Antworten (1)

Jack
Jack am 8 Mai 2025
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.

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by