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

15 vues (au cours des 30 derniers jours)
WEI
WEI le 12 Avr 2024
Réponse apportée : Jack le 8 Mai 2025

Réponses (1)

Jack
Jack le 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.

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by