I can't save a PSAT file

4 views (last 30 days)
ABU SADAT MOHAMMAD SAYEM
ABU SADAT MOHAMMAD SAYEM on 17 Sep 2020
Commented: hiba al-kaoaz on 25 Mar 2022
Hi,
When I try to save a model an error pops up "Too many output arguments." & I can't save the file anyway. Could you please suggest any workaround to fix this?
Thanks
  6 Comments
Walter Roberson
Walter Roberson on 1 Oct 2021
Did you check whether you have a psat settings.m file such as I described in my Answer below?
hiba al-kaoaz
hiba al-kaoaz on 25 Mar 2022
i have matlab 2019 a and when i I try to save a model an error pops up "Too many output arguments." & I can't save the file anyway. Could you please suggest any workaround to fix this? how can i solve this problem please

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 17 Sep 2020
I suspect that you have a file named settings.m that is interfering with the operation of MATLAB.
which -all settings
You should see something like toolbox/matlab/configtools/settings.m
  11 Comments
Walter Roberson
Walter Roberson on 1 Oct 2021
After that,
rehash toolboxcache
Amirul Hakim
Amirul Hakim on 12 Jan 2022
then should i install the older version of matlab?
> In load_system (line 21)
In sim2psat (line 128)
In fm_dirset (line 474)
In fm_dirset (line 563)
Warning: d_009_svc.mdl, line 481: Registration key for 'psatdomain' is invalid.
the error repeat many time

Sign in to comment.

Categories

Find more on Platform and License in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!