Thread Subject: sigTOOL help

Subject: sigTOOL help

From: lee von kraus

Date: 22 Feb, 2009 17:10:16

Message: 1 of 9

I just installed matlab r2007b on a computer running windows xp. I added the unzipped sigtool folder and its subfolders to the matlab path. I can start sigTOOL but when I click to import any type of data file (tried .plx and alpha so far) the error pasted below shows up in matlab. I've manually checked and the mexprog.dll is indeed in the specified folder.... weird..


??? Invalid MEX-file 'C:\MATLAB\toolbox\sigTOOL\sigTOOL Neuroscience
Toolkit\File\menu_Import\group_NeuroScience File
Formats\NeuroShare\mexprog.dll': The specified module could not be found.

.

Error in ==> ns_SetLibrary at 39
[ns_RESULT] = mexprog(18, filename);
Error in ==> menu_ImportPLX at 32
    if (ns_SetLibrary([pathname filesep name ext]) ~= 0)

??? Error while evaluating uimenu Callback

Subject: sigTOOL help

From: Malcolm Lidierth

Date: 23 Feb, 2009 15:34:02

Message: 2 of 9

Dear Lee

This error will be generated if mexprog.dll has been compiled on more recent versions of MATLAB. My guess is that you have a more recent dll that was includes in early sigTOOL versions and this has not been overwritten when unzipping. In any case, the one in the current sigTOOL download (Version 0.88) is dated 02/06/2004 and, in my hands, works on R2007b.

I will send you a mexprog.mexw32 that works back to R2006a by email. This will be needed shortly as support for the dll extension is disappearing from MATLAB.

Incidentally, MATLAB advises against placing files in the toolbox path. sigTOOL will work there, but you may hit problems and could degrade overall MATLAB performance. It might be better to use My Documents/sigTOOL.

Regards
Malcolm

Subject: sigTOOL help

From: Sev Ladeja

Date: 18 Feb, 2010 21:22:06

Message: 3 of 9

Dear Malcom
I have exactly the same problem and same error message than Lee. I also have the mexprog.dll files in the right folder. Do you know if Lee fixed it with the new mexprog.mexw32 you sent him? I also have Matlab 2007b and Windows Vista Home Premium.

Thanks for your help,
Sev

"Malcolm Lidierth" <ku.ca.lck@htreidil.mloclam> wrote in message <gnufla$asn$1@fred.mathworks.com>...
> Dear Lee
>
> This error will be generated if mexprog.dll has been compiled on more recent versions of MATLAB. My guess is that you have a more recent dll that was includes in early sigTOOL versions and this has not been overwritten when unzipping. In any case, the one in the current sigTOOL download (Version 0.88) is dated 02/06/2004 and, in my hands, works on R2007b.
>
> I will send you a mexprog.mexw32 that works back to R2006a by email. This will be needed shortly as support for the dll extension is disappearing from MATLAB.
>
> Incidentally, MATLAB advises against placing files in the toolbox path. sigTOOL will work there, but you may hit problems and could degrade overall MATLAB performance. It might be better to use My Documents/sigTOOL.
>
> Regards
> Malcolm

Subject: sigTOOL help

From: Malcolm Lidierth

Date: 19 Feb, 2010 15:37:04

Message: 4 of 9

Sev
Lee found that he could import older PLX files. The problems seemed to arise only with those files of version number 106 or higher.
If you send me a sample file I'll take a look again, but I suggest you also contact Plexon customer support.
Regards
Malcolm

http://sigtool.sourceforge.net/

Subject: sigTOOL help

From: Sev Ladeja

Date: 19 Feb, 2010 21:36:04

Message: 5 of 9

Hi Malcom,

Thanks for your quick reply, but I am pretty sure it is not the Plexon files, my colleague is using them with SigTOOL and she can load them fine. Anyway, the sigTOOL gives me the error message (same as Lee) before I can even see a window to load the file. The error comes before the loading.

?? Undefined function or method 'mexprog' for input arguments of type 'double'.
Error in ==> ns_SetLibrary at 39
[ns_RESULT] = mexprog(18, filename);
Error in ==> menu_ImportPLX at 32
    if (ns_SetLibrary([pathname filesep name ext]) ~= 0)
??? Error while evaluating uimenu Callback

I also tried to install sigTOOL on a second computer and I got the exact same error message (Both computers are on Vista).
Is it possible that sigTOOL ( in the mexprog) has an incompatibility with Vista?
I even tried to replace the mexprog files I have with those of my colleague (who has successfully used sigTOOL), and no changes, so that is why I start thinking it is an incompatibility with my computers (the colleague has XP)

Thanks for your help, it is much appreciated,
Sev



"Malcolm Lidierth" <ku.ca.lck@htreidil.mloclam> wrote in message <hlmb70$4kd$1@fred.mathworks.com>...
> Sev
> Lee found that he could import older PLX files. The problems seemed to arise only with those files of version number 106 or higher.
> If you send me a sample file I'll take a look again, but I suggest you also contact Plexon customer support.
> Regards
> Malcolm
>
> http://sigtool.sourceforge.net/

Subject: sigTOOL help

From: Malcolm Lidierth

Date: 23 Feb, 2010 20:21:20

Message: 6 of 9

Sev
Try swapping PLX files with your colleague and see what happens
Regards
ML

http://sigtool.sourceforge.net/

Subject: sigTOOL help

From: Malcolm Lidierth

Date: 28 Feb, 2011 12:54:29

Message: 7 of 9

Update:
sigTOOL 0.95 now includes all platform NeuroShare support.
For Plexon files, manufacturer supplied Win32 and Win64 drivers are available.

http://sigtool.sourceforge.net/

Subject: sigTOOL help

From: Yukiko Kikuchi

Date: 2 Jun, 2011 15:29:04

Message: 8 of 9

Hi, I have a similar problem by getting the error message as follows:

??? Undefined function or method 'mexprog' for input
arguments of type 'double'.

Error in ==> ns_SetLibrary at 39
[ns_RESULT] = mexprog(18, filename);

I use Windows 7 64bit machine. I want to convert the Neuroexplorer files (nex) into Neuroshare format. I put all the m files shown here (http://neuroshare.sourceforge.net/Matlab-Import-Filter/NeuroshareMatlabAPI-2-2.htm#Installation), mexprog.dll, and NeuroExplorerNeuroShareLibrary.dll (http://www.neuroexplorer.com/code.html) in the same folder, which is different from where the tool boxes are, and created the path but still keep getting the same error message. I don't want to use the sigTOOL because it is not currently supporting for the import the Neuroexplorer files on Windows 64bit machine. I would appreciate for any help. Thank you in advance!

Best wishes,


"Malcolm Lidierth" wrote in message <ikg5u5$olc$1@fred.mathworks.com>...
> Update:
> sigTOOL 0.95 now includes all platform NeuroShare support.
> For Plexon files, manufacturer supplied Win32 and Win64 drivers are available.
>
> http://sigtool.sourceforge.net/

Subject: sigTOOL help

From: Malcolm Lidierth

Date: 2 Jun, 2011 18:18:05

Message: 9 of 9

You will need mexprog.mexw64 not mexprog.dll. In my hands I then get

>> ns_SetLibrary(which('NeuroExplorerNeuroShareLibrary.dll'))
Warning: Unable to load this DLL

ans =

    -1

as NeuroExplorerNeuroShareLibrary.dll appears to be 32 bit only.
This is an issue for NeuroExplorer if you are a customer of theirs, rather than sigTOOL. They provide a full set of MATLAB routines for their native format in additon to the NeuroShare library.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
neuroshare Yukiko Kikuchi 2 Jun, 2011 11:34:09
plx Malcolm Lidierth 24 Feb, 2010 10:18:29
plexon Malcolm Lidierth 24 Feb, 2010 10:18:25
error message w... Sev Ladeja 18 Feb, 2010 16:24:16
sigtool Malcolm Lidierth 23 Feb, 2009 10:41:57
rssFeed for this Thread

Contact us at files@mathworks.com