Why am I missing files from my MATLAB 6.5.1 (R13SP1) installation on Linux?
2 views (last 30 days)
Show older comments
Why am I missing files from my MATLAB 6.5.1 (R13SP1) installation on Linux?
I have recently installed MATLAB 6.5.1 (R13SP1) or a Toolbox or Blockset on Linux. When running functions or simulating Simulink models, I receive one of the following errors about a missing MEX file:
S-Function 'sfun_psbdiscc' does not exist
MATLAB error message:
Invalid MEX-file
Unable to load mex file: D:\MATLAB6p5p1\toolbox\powersys\powersys\sfun_psbdiscc.dll.
The specified module could not be found.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
This has been verified as a bug in MATLAB 6.5.1 (R13SP1) in the way that the installer handles certain Linux installations.
Currently, to work around this issue, try one of the following:
1. Try to reinstall MATLAB or the Toolbox or Blockset which is missing files.
2. If you are missing a specific MEX file, try using the WHICH command to find it.
which -all sfun_psbdiscc
sfun_psbdiscc not found.
If it is not found, try to find the corresponding ".c" file.
which -all sfun_psbdiscc.c
D:\MATLAB6p5p1\toolbox\powersys\powersys\sfun_psbdiscc.c
Browse to the path indicated and use the MEX function on the ".c" file to create the missing MEX file.
cd('D:\MATLAB6p5p1\toolbox\powersys\powersys\')
mex sfun_psbdiscc.c
0 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!