Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
17 Nov 2009 Using java swing components in MATLAB A custom class that eases the use of java.awt and javax.swing components in MATLAB Author: Malcolm Lidierth Lidierth, Malcolm

Jose
You will get Java exceptions if you try to create a JFrame ('adding a window to a container') so jcontrol does not allow that.

You can however, build very complex GUIs using a MATLAB figure or uipanel as parent and I hope to include tabbed panes once TWM provide full support for these. An advantage of using MATLAB containers is that you can mix and match jcontrols and MATLAB components including graphics in a single figure/panel.

Apart from using a java window, there are few restrictions. You can for example create a uipanel, add a swing JPanel to it, populate that with a JScrollPane and add a JTree to it along with a set of JButtons in the JPanel.
Regards
Malcolm

30 Oct 2009 sigTOOL Demo Demo version of the sigTOOL analysis package for neuroscience. Author: Malcolm Lidierth Lidierth, Malcolm

Spencer
Great. I have had a few enquiries about TDT. How about sharing your importer?
As far as those errors are concerned - if they are in sigTOOL, please supply details.
Regards
Malcolm

06 Oct 2009 Using java swing components in MATLAB A custom class that eases the use of java.awt and javax.swing components in MATLAB Author: Malcolm Lidierth Lidierth, Malcolm

Ritesh
See the undocumented MATLAB uitab and uitabgroup functions for tabbed panes
For widgets, I may have misunderstood. Jcontrols can be positioned using normalized units 0 to 1. MATLAB then does the work.

06 Oct 2009 Using java swing components in MATLAB A custom class that eases the use of java.awt and javax.swing components in MATLAB Author: Malcolm Lidierth Lidierth, Malcolm

PS That should be uitab + uitabgroup

02 Oct 2009 sigTOOL Demo Demo version of the sigTOOL analysis package for neuroscience. Author: Malcolm Lidierth Lidierth, Malcolm

Ryan
It is easy to add more parameters. Just edit the 'names' cell array in the EditStructureGUI function in menu_InterfaceTo_wave_clus.m. E.g.

names={'stdmin',...
    'stdmax',...
    ................
    ................
    'max_spk',...
    'max_clus'};

Remember though, that these values are reset via set_parameters_simulation.m when you load a new channel so editing set_parameters_simulation.m may be more convenient.

As for batch processing, that could probably be included if there were enough demand but there are a lot of other things on the TODO list.

18 Aug 2009 sigTOOL Demo Demo version of the sigTOOL analysis package for neuroscience. Author: Malcolm Lidierth Lidierth, Malcolm

Flor,
You would need to write an import function that would create a MAT file containing the variables required by sigTOOL. The Programmer Guide contains details
Regards
ML

16 Jun 2009 sigTOOL Demo Demo version of the sigTOOL analysis package for neuroscience. Author: Malcolm Lidierth Lidierth, Malcolm

Xiping
I think I see what is happening. The option to export data in PDF, TIF etc, and also to Send data to Excel, Sigmaplot etc is available in a sigTOOL result view showing e.g. averages. The GUI manual gives details.
It is not supported in a data view which is the view you appear to be clicking on. It could be if there were enough demand.
Regards
Malcolm

15 Jun 2009 sigTOOL Demo Demo version of the sigTOOL analysis package for neuroscience. Author: Malcolm Lidierth Lidierth, Malcolm

Xiping
Just right-click and choose Send To. That gives you a choice of Excel, SigmaPlot and Origin and will export the data to those (if installed).

13 Mar 2009 sigTOOL Demo Demo version of the sigTOOL analysis package for neuroscience. Author: Malcolm Lidierth Lidierth, Malcolm

Wave_clus 2.0 is supported in the latest version of sigTOOL at http://sigtool.sourceforge.net/

20 Feb 2009 sigTOOL Demo Demo version of the sigTOOL analysis package for neuroscience. Author: Malcolm Lidierth Lidierth, Malcolm

For ste costa

The file import functions are not included in this demo version because TMW no longer allows dlls to be included on MATLAB Cental submissions.

To get the full version of sigTOOL, complete with the import functions you require visit

http://sigtool.sourceforge.net/

05 Dec 2008 Using java swing components in MATLAB A custom class that eases the use of java.awt and javax.swing components in MATLAB Author: Malcolm Lidierth Lidierth, Malcolm

Thierry. Many thanks. Demo file now restored to zip.

10 Nov 2008 sigTOOL Demo Demo version of the sigTOOL analysis package for neuroscience. Author: Malcolm Lidierth Lidierth, Malcolm

Yunguo
To the best of my knowledge, this is the the only place where batch processing is presently not supported. I should have stated that in the documentation.
sigTOOL does not support Wave_clus for batch processing because it works through the Wave_clus GUI: Wave_clus parameters etc are extracted from the GUI userdata areas and user interaction is assumed. Wave_clus was designed to run as a stand-alone GUI, not in sigTOOL so it would take some work to include batch processing.
However, Wave_clus does provide batch processing routines and, in principle, unsupervised batch processing could be added to sigTOOL if enough users requested it.
Regards
Malcolm
 

06 Nov 2008 sigTOOL Demo Demo version of the sigTOOL analysis package for neuroscience. Author: Malcolm Lidierth Lidierth, Malcolm

OK.
The problem is 64 bit Windows. Wave_clus relies on a 32-bit Windows exe file.
Can that be run in a DOS window on 64-bit Windows?
Is it safe to try?
I do not know, so I will leave those questions to you.

If it is OK to run the cluster.exe file, then:
Put a break point at line 34 in run_cluster and check the value of handles.par.system which (I think) will be 'PCWIN64'. If it is, change line 35 of run_cluster to

case {'PCWIN', 'PCWIN64'}
(at present, the switch is defaulting to Linux).

Save the change and exit the debugger, then try again.

Good luck
Malcolm

06 Nov 2008 sigTOOL Demo Demo version of the sigTOOL analysis package for neuroscience. Author: Malcolm Lidierth Lidierth, Malcolm

Yunguo
That breakpoint should be line 7 not 8.
ML

06 Nov 2008 sigTOOL Demo Demo version of the sigTOOL analysis package for neuroscience. Author: Malcolm Lidierth Lidierth, Malcolm

Yunguo

I am glad you like it.

menu_InterfaceTo_Wave_clus changes the present working directory to the system temprary folder so that temporary files created by wave_clus are written to that. It looks as though the directory is changing before the wave_clus run_cluster function is called- hence the file not found warnings and eventual error.

Put a breakpoint at line 8 of run_cluster and run clustering from the wave_clus GUI. When the debugger halts exection, try pwd and tempdir at the command line:
K>> pwd
ans =
C:\DOCUME~1\ML\LOCALS~1\Temp
K>> tempdir
ans =
C:\DOCUME~1\ML\LOCALS~1\Temp\

If these are not the same that explains the errors. Next you need to find why they are not the same because the command
cd(tempdir());
is issued in menu_InterfaceTo_Wave_clus. Are there any other routines running that might be changing the working directory?

The "'.' is not recognized as an internal or external command,
operable program or batch file. " may be related as the cluster executable is also copied to tempdir.
What OS are you using?

As a temporary fix, you may find the typing
K>>cd(tempdir());
when you hit the break point solves your problem.

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com