Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
16 Oct 2009 Print with Internet Explorer Prints out a URL with Internet Explorer Author: Matthew Simoneau tracker, port

One more request, if I may - Is it possible to print only the document of the web, not the entire page (I think it's done in document.write() method in javascript but have no idea how to integrate it with the above code).

Thanks again,
porter

16 Oct 2009 Print with Internet Explorer Prints out a URL with Internet Explorer Author: Matthew Simoneau tracker, port

excellent work, really helped me !
Is it possible to create the same function also with firefox? (the problem with the protected zone in IE is a bit bothering)

Thanks,
porter

27 Apr 2009 Publish to MediaWiki A stylesheet to make MATLAB publishing produce MediaWiki markup as an output. Author: Matthew Simoneau Simoneau, Matthew

joshua, is it the "<source>" that you're asking about? That's markup for the syntax highlighting extension. It's installed on Wikipedia and most other installations. http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi

us, I checked again and the file is xsl on the File Exchange. it's possible your browser or OS is renaming the file when you download it.

24 Apr 2009 Publish to MediaWiki A stylesheet to make MATLAB publishing produce MediaWiki markup as an output. Author: Matthew Simoneau us

matthew, correct...
however, your file's extension is XML...
urs

23 Apr 2009 Publish to MediaWiki A stylesheet to make MATLAB publishing produce MediaWiki markup as an output. Author: Matthew Simoneau vogelstein, joshua

this works pretty great for me, but i get things like:

<source lang="matlab"> load('west0479.mat') A = west0479; S = A * A' + speye(size(A)); pct = 100 / prod(size(A));
clf; spy(S), title('A Sparse Symmetric Matrix') nz = nnz(S); xlabel(sprintf('nonzeros=%d (%.3f%%)',nz,nz*pct)); </source>

is it possible that i set something up incorrectly?

23 Apr 2009 Publish to MediaWiki A stylesheet to make MATLAB publishing produce MediaWiki markup as an output. Author: Matthew Simoneau Simoneau, Matthew

urs, I'm not sure where you mean. I think it should be mediawiki.xsl everywhere.

22 Apr 2009 Publish to MediaWiki A stylesheet to make MATLAB publishing produce MediaWiki markup as an output. Author: Matthew Simoneau us

works very well; BUT there's a small type in the sample usage:
mediawiki.xsl
should read
mediawiki.xml
just a thought
urs

22 Apr 2009 Publish to MediaWiki A stylesheet to make MATLAB publishing produce MediaWiki markup as an output. Author: Matthew Simoneau us

05 Apr 2009 MATLAB Contest Statistics The code used to generate the "Statistics" page for the MATLAB Contest. Author: Matthew Simoneau D'Errico, John

05 Apr 2009 MATLAB Contest Statistics The code used to generate the "Statistics" page for the MATLAB Contest. Author: Matthew Simoneau us

04 Apr 2009 MATLAB Contest Statistics The code used to generate the "Statistics" page for the MATLAB Contest. Author: Matthew Simoneau Fifo

16 Mar 2009 closewindow Close any window by name. Author: Matthew Simoneau Imran

Hi Mat
I am using this function but I get this error:
??? Error using ==> calllib
To call a function both the library name and function name are needed.

Error in ==> loadlibrary at 172
    calllib(library,fcns,classname,structs,enums);

Error in ==> closewindow at 13
    loadlibrary('user32.dll',@userproto,'alias',mfilename);

whats going wrong?, I also installed DLL library from:
http://www.mathworks.com/support/solutions/files/s33513/GenericDll_1p1.exe

I would appreciate your help.
thanks
Imran

23 Jan 2009 Unescape a JavaScript String Manually interprets a JavaScript string, which may contain escape characters. Author: Matthew Simoneau Simoneau, Matthew

Yes, us, that is a real problem!

There's probably a clever way to avoid this hack, but it didn't come to mind.

23 Jan 2009 Unescape a JavaScript String Manually interprets a JavaScript string, which may contain escape characters. Author: Matthew Simoneau us

hmmm...
matthew,
i had a string, which contained the - certainly valid - word 'THIS_IS_ESCAPED_DUDE'...
and it got all screwed up...
:-)
us

23 Oct 2008 Using Data from MOLA Work with a medium-resolution dataset from MOLA. Author: Matthew Simoneau Simoneau, Matthew

This image was used in the "Do you speak MATLAB?" marketing campaign.

http://www.mathworks.com/programs/ltc/

21 Jul 2008 Query a database Provides a simple call for getting data out of a database. Author: Matthew Simoneau zamora, juan

great script, It saved a lot of my time.
Thanks

21 Mar 2008 Upload a Video to Youtube Using Youtube's Data API, upload a video directly from MATLAB. Author: Matthew Simoneau Simoneau, Matthew

Urs, don't you know? I'm from the future!

20 Mar 2008 Upload a Video to Youtube Using Youtube's Data API, upload a video directly from MATLAB. Author: Matthew Simoneau aUser, hUser

Excellent! Glad to see this. I have tried myself to get a similar function working for uploading MATLAB pics to picasaweb using a similar api from google. But I did not have any luck.

19 Mar 2008 Upload a Video to Youtube Using Youtube's Data API, upload a video directly from MATLAB. Author: Matthew Simoneau (us) Schwarz, Urs

very spiffy, matthew! however, what's MUCH more interesting: the html was published using version 7.7(!) already - whilst the pedestrians just received 7.6...
us

18 Nov 2007 Download a Slideshow from Kodak Gallery Download all the images in a Kodak Gallery slideshow. Author: Matthew Simoneau sudheer, moota

30 Aug 2007 ShowWindow Change the state of a window, like minimize and maximize. Author: Matthew Simoneau Thompson, Jeffrey

Thanks so much. Exactly what I needed.

12 Aug 2007 Using Data from MOLA Work with a medium-resolution dataset from MOLA. Author: Matthew Simoneau rahim, baby yoyo

4

27 Jul 2007 Download a Slideshow from Kodak Gallery Download all the images in a Kodak Gallery slideshow. Author: Matthew Simoneau dugo, LUhang

Great

10 Jul 2007 Using Data from MOLA Work with a medium-resolution dataset from MOLA. Author: Matthew Simoneau sarker, md.ziauddin

03 Jan 2007 Google Toolbox Uses Google's SOAP interface to pull data into MATLAB as a structure. Author: Matthew Simoneau B, A

EvilAPI.com is a workaround.

03 Jan 2007 Using Data from MOLA Work with a medium-resolution dataset from MOLA. Author: Matthew Simoneau Lucas, Antoine

With tiny modification, it will able to read any pds data such as Mola at high resolution and so on.

01 Jan 2007 Google Toolbox Uses Google's SOAP interface to pull data into MATLAB as a structure. Author: Matthew Simoneau B, A

As per http://code.google.com/apis/soapsearch/,
Google is no longer issuing new API keys for the SOAP Search API. Developers with existing SOAP Search API keys will not be affected.

Google recommends using the AJAX Search API instead: http://code.google.com/apis/ajaxsearch/

14 Dec 2006 closewindow Close any window by name. Author: Matthew Simoneau tbzz, tbzz

13 Dec 2006 ShowWindow Change the state of a window, like minimize and maximize. Author: Matthew Simoneau Renner, Peter

Thanks for the function. It's pretty good.

05 Aug 2006 Google Toolbox Uses Google's SOAP interface to pull data into MATLAB as a structure. Author: Matthew Simoneau adam, yasir

I want the JAR file in my classpath

24 Jul 2006 ShowWindow Change the state of a window, like minimize and maximize. Author: Matthew Simoneau Kelly, Jarod

I haven't had any troubles, though I had to add a pause as well (mine is arbitrarly set as pause(.2)).

The need for the pause is a result of WHEN you are trying to invoke the function. For instance, I'm using it in a GUI that opens and closes other GUIs, so pausing that split second allows the machine to recognize the other figure as being available.

14 Jul 2006 closewindow Close any window by name. Author: Matthew Simoneau vo, tronghung

ok

07 Jun 2006 ShowWindow Change the state of a window, like minimize and maximize. Author: Matthew Simoneau jun, fan

what is the problem??

>> showwindow('','minimize')
??? method was not found

Error in ==> D:\Try\MATLAB6p5\toolbox\matlab\general\calllib.dll
Error in ==> D:\Try\MATLAB6p5\work\showwindow.m
On line 92 ==> h = calllib(mfilename,'FindWindowA',[],name);

>> figure(4);drawnow,showwindow('Figure 4','maximize');text(.5,.5,'Simoneau')
??? method was not found

Error in ==> D:\Try\MATLAB6p5\toolbox\matlab\general\calllib.dll
Error in ==> D:\Try\MATLAB6p5\work\showwindow.m
On line 92 ==> h = calllib(mfilename,'FindWindowA',[],name);

>>

01 Jun 2006 Google Toolbox Uses Google's SOAP interface to pull data into MATLAB as a structure. Author: Matthew Simoneau taveras, fernando

ya itz iight

12 May 2006 ShowWindow Change the state of a window, like minimize and maximize. Author: Matthew Simoneau Farajian, Tim

Exactly the functionality I was looking for. In R14 and later, rather than using the example:

>> figure(4); showwindow('Figure No. 4','maximize'); text(.5,.5,'Simoneau')

Use:

>> figure(4);drawnow,showwindow('Figure 4','maximize');text(.5,.5,'Simoneau')

The "Figure No. 4" name is useful for Native MATLAB figures (used in R13SP1 and earlier) while "Figure 4" should be used for Java figures (used by default in R14 and later).

Also, there is often the need to use the DRAWNOW command between creating the figure and calling ShowWindow.

If you want to be able to obtain the name of the figure from the figure handle, use the following algorithm:

namestr = get(hFig,'name');
if strcmp(get(hFig,'numbertitle'),'on')
 numt = ['Figure ' num2str(hFig)];
 if ~isempty(namestr)
  name = [numt ': ' namestr];
 else
  name = numt;
 end
else
 name = namestr;
end

This seems to work in all cases (for R14 and later) except when "NumberTitle" is "off" and the "Name" property is empty.

Thanks for the function Matt.

10 Nov 2005 Google Toolbox Uses Google's SOAP interface to pull data into MATLAB as a structure. Author: Matthew Simoneau Rosa, Luigi

I have developed "Google Ranking Search Engine Optimization Tool", for more information please visit
http://www.advancedsourcecode.com/googleranking.asp
It uses no API.

20 Apr 2005 SnagIt Capture the current window to an image file. Author: Matthew Simoneau George, Asha

Please help.I am getting the following error when i ran this m file.What do I do?

Dispatch : Type mismatch.

Error in ==> C:\MATLAB6p1\toolbox\matlab\winfun\@activex\private\actxcli.dll
Error in ==> C:\MATLAB6p1\toolbox\matlab\winfun\@activex\set.m
On line 18 ==> actxcli('set', varargin{1}.Handle,varargin{2:end});

Error in ==> F:\mattoolenhancement\ModelCompareTool_IntermediateRelease1.4\Modelcmptool\snagIt.m
On line 56 ==> set(inputWindowOptions,'SelectionMethod','swsmActive');

03 Feb 2005 Google Toolbox Uses Google's SOAP interface to pull data into MATLAB as a structure. Author: Matthew Simoneau Simoneau, Matthew

chuang chen-chia, I think you haven't put the JAR-file on your classpath. See step #3 in the setup instructions.

02 Feb 2005 Google Toolbox Uses Google's SOAP interface to pull data into MATLAB as a structure. Author: Matthew Simoneau chen-chia, chuang

>> setpref('google','key','**************')
>> s = googlesearch('matlab',10);
??? Undefined variable 'com'.

Error in ==> c:\matlab application software\google toolbox\googlesearch.m
On line 39 ==> googleSearch = com.google.soap.search.GoogleSearch;

>>

how to slove it???

20 Jan 2005 Save Word as Text Converts a Microsoft® Word document to a text file. Author: Matthew Simoneau Sawczuk, Mark

You are a genius!!! This just saved me an indefinite ammount of time! I had access to a hord of technical documents (word) where they were labeled with just a document number. Using this I automated a script which pulled all of the abstracts out of thousands of files so I could suscinctly query for information. I owe you one!!!!

20 Oct 2004 ShowWindow Change the state of a window, like minimize and maximize. Author: Matthew Simoneau Shah, Samir

In order to use this successfully in code, I had to put a pause(1) statement before this call. I don't know why, but otherwise it didn't work.

05 Sep 2004 Google Toolbox Uses Google's SOAP interface to pull data into MATLAB as a structure. Author: Matthew Simoneau gulmatico, johanna

20 May 2004 Save with Image Map Saves a figure out as a PNG-file and creates a corresponding HTML-file with an image map. Author: Matthew Simoneau hýzarcýoðlu, hakan

ads

12 May 2004 ShowWindow Change the state of a window, like minimize and maximize. Author: Matthew Simoneau Kolluru, Prasanna

This is working fine in Matlab Environment but its giving problem when compiling...
Warning: "c:\programs\matlab13\toolbox\matlab\general\private\plibisloaded.p" is a Mex or P-file being referenced from "c:\programs\matlab13\toolbox\matlab\general\libisloaded.m".
NOTE: A link error will be produced if a call to this function is made from stand-alone code.
Warning: No M-function source available for "general/private/plibisloaded", assuming
function [varargout] = general/private/plibisloaded(varargin)

NOTE: This will produce a link error in stand-alone code
unless you provide a hand-written definition for this function.
Warning: No M-function source available for "system", assuming
function [varargout] = system(varargin)

NOTE: This will produce a link error in stand-alone code
unless you provide a hand-written definition for this function.
Warning: File: c:\programs\matlab13\toolbox\matlab\general\loadlibrary.m Line: 120 Column: 20
The "which" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.
Warning: File: c:\programs\matlab13\toolbox\matlab\general\loadlibrary.m Line: 170 Column: 5
The "rehash" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.
Warning: File: c:\programs\matlab13\toolbox\matlab\general\loadlibrary.m Line: 178 Column: 16
The "methods" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.
Warning: File: c:\programs\matlab13\toolbox\matlab\general\loadlibrary.m Line: 194 Column: 10
The "which" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.
Warning: File: c:\programs\matlab13\toolbox\matlab\general\perl.m Line: 35 Column: 17
The "which" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.
Warning: File: c:\programs\matlab13\toolbox\matlab\general\perl.m Line: 60 Column: 22
The second output argument from the "dos" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.
Warning: File: c:\programs\matlab13\toolbox\matlab\general\perl.m Line: 63 Column: 23
The second output argument from the "unix" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.
Warning: File: c:\programs\matlab13\toolbox\matlab\general\perl.m Line: 66 Column: 24
The second output argument from the "unix" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.
libisloaded.obj .text: undefined reference to '_mlfNGeneral_private_plibisloaded'
loadlibrary.obj .text: undefined reference to '_mlfNSystem'
 
  MBUILD.BAT: Error: Link of 'iodata.exe' failed.
 
??? Error using ==> mbuild
Unable to complete successfully

??? Error: An error occurred while shelling out to mbuild (error code = 1).
Unable to build executable (specify the -v option for more information).

Error in ==> C:\Programs\Matlab13\toolbox\compiler\mcc.dll

24 Apr 2004 SnagIt Capture the current window to an image file. Author: Matthew Simoneau IKEDA, Hiroaki

Thanks.

16 Mar 2004 Google Toolbox Uses Google's SOAP interface to pull data into MATLAB as a structure. Author: Matthew Simoneau ahmed, abdullah

08 Mar 2004 SnagIt Capture the current window to an image file. Author: Matthew Simoneau IKEDA, Hiroaki

How can I snag Windows Media Player videos using Matlab snagit.m?

26 Feb 2004 ShowWindow Change the state of a window, like minimize and maximize. Author: Matthew Simoneau kumar, dhananjai

23 Jan 2004 ShowWindow Change the state of a window, like minimize and maximize. Author: Matthew Simoneau Klarqvist, K

Excellent tool. Does exactly what I wanted.

Minor improvement
I would like it to take a figure handle instead of the window title but it easy to work around that.

17 Aug 2003 ShowWindow Change the state of a window, like minimize and maximize. Author: Matthew Simoneau Nichols, Greg

Works great! Thanks, Matthew.
Two things thar might be helpful:
After installing Generic DLL Calling, I found it necessary to say 'rehash toolboxcache' to get Matlab to update the search path.
This command will maximize tha figure that was drawn last:
showwindow(['Figure No. ' num2str(gcf)],'maximize');

 

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