I'm receiving an error message when I try to run a matlab programme

15 views (last 30 days)
I'm trying to run a Matlab programme (without having any knowledge of Matlab myself) that previously worked fine on a different computer.
I'm receiving the following error message:
Undefined function 'ShowHideWinTaskbarMex' for input arguments of type 'double'.
Error in ProbeDiscrim (line 121) ShowHideWinTaskbarMex(1)
I have a feeling that it either is because this is a newer version of Matlab that I am using, or that the correct 'pathways' are not set up (for example files to save the data to) but I'm not sure how to fix this...

Answers (1)

Wayne King
Wayne King on 7 Jan 2014
Edited: Wayne King on 7 Jan 2014
The program (looks like a MEX file) ShowHideWinTaskbarMex is missing or cannot be found by MATLAB.
If that program is on the computer, you need to the folder containing the program to the MATLAB path. You can do that by entering
>>pathtool
and adding the folder, or by using the addpath() function.
If you have successfully added the folder, you should be to find the function using the which command.

Categories

Find more on Startup and Shutdown 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!