Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
30 Jan 2009 GIF Player This function will display the animated GIF's in the figure window Author: Vihang Patil Troy

I was going to use this to display a loading icon, which works fine if I put a break point in the code. The problem is that it freezes when the rest of the code executes. Is there a way to make it work in parallel?

Thanks

15 Jan 2009 Machine Vision System - Color Recognition This gui is a demonstration on the concept of machine vision system for color recognition Author: Vihang Patil Rehman, Yawar

06 Jan 2009 Restore previous working directory on MATLAB Startup This simple program will restore the last working directory on resuming MATLAB Author: Vihang Patil Köhler, Andreas

I made the following modification to finish.m such that my startup.m - which already contains important data - is not overwritten:

%%%%%%% finish.m %%%%%%
str = pwd;%store present working directory in the variable str

% figure out where to put restorewd script
pathstr=userpath;
if(isempty(pathstr))
  pathstr=[matlabroot filesep 'work'];
else
  pathstr=pathstr(1:find(pathstr==pathsep)-1);
end

fid = fopen(fullfile(pathstr,'restorewd.m'),'wt');%open file for writing
fprintf(fid,'answer = questdlg(''Do you want to continue working in the previous working directory'',''Restore Last Working Directory'',''Yes'',''No'',''Default'');\n');%write this and the following 3 lines into restorewd.m
fprintf(fid,'cd(''%s'');\n',str);
fprintf(fid,'end');
fclose(fid);%close file
%fprintf(fid,'end');
fclose(fid);%close file

Now, create or append to your existing startup.m:

if exist('restorewd')==2
  restorewd
end

29 Oct 2008 Machine Vision System - Color Recognition This gui is a demonstration on the concept of machine vision system for color recognition Author: Vihang Patil Patil, Vihang

Samuel. This program is developed in R2006b, a version which is much more newer than the one you are using Matlab6p5. You will need to update your software to atleast R2006b or higher

09 Oct 2008 Machine Vision System - Color Recognition This gui is a demonstration on the concept of machine vision system for color recognition Author: Vihang Patil Sam, Samuel

I execute eyekon but encountered the following errors:

??? Error using ==> load
Unable to read MAT file C:\MATLAB6p5\work\maingui.fig

See FILEFORMATS for a list of known file types and the functions used to read them.

Error in ==> C:\MATLAB6p5\toolbox\matlab\iofun\hgload.m
On line 45 ==> fileVars = load(filename,'-mat');

Error in ==> C:\MATLAB6p5\toolbox\matlab\graphics\openfig.m
On line 89 ==> [figs, oldvis] = hgload(filename, struct('Visible','off'));

Error in ==> C:\MATLAB6p5\toolbox\matlab\uitools\gui_mainfcn.m (local_openfig)
On line 184 ==> gui_hFigure = openfig(name, singleton, 'auto');

Error in ==> C:\MATLAB6p5\toolbox\matlab\uitools\gui_mainfcn.m
On line 82 ==> gui_hFigure = local_openfig(gui_State.gui_Name, gui_SingletonOpt);

Error in ==> C:\MATLAB6p5\work\maingui.m
On line 40 ==> [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});

Error in ==> C:\MATLAB6p5\work\eyekon.m
On line 2 ==> h = maingui;

Can you tell me what's wrong with my configuration. Thanks!

23 Jan 2008 Program to generate applications which are time bound/evaluation Create stand alone application which is time bound to distriute for demo purposes. Author: Vihang Patil Shvorob, Dimitri

Ok, call me ungrateful, but submitting closed-source code.. :(

15 Jan 2008 Program to generate applications which are time bound/evaluation Create stand alone application which is time bound to distriute for demo purposes. Author: Vihang Patil LOTR, Shadowfax

Works as claimed but would be interesting to know how it works.
(When i ran it Zonealarm tried to block its execution coz it was trying to access the cmd prompt)

14 Dec 2007 GIF Player This function will display the animated GIF's in the figure window Author: Vihang Patil Hopkins, John

Nice Utility.

14 Dec 2007 GIF Player This function will display the animated GIF's in the figure window Author: Vihang Patil Gandhi, Rahul

This is what I wanted

25 Nov 2006 Magic!!!. Guesses the number in your mind!! This game will guess the number in your mind. Its Magic!! Author: Vihang Patil Cheilakos, Nick

Ok you take a magic trik and make it m- file.

The only good word i can say is for the gui

18 Oct 2006 GIF Player This function will display the animated GIF's in the figure window Author: Vihang Patil Patil, Vihang

Thanks Jos
Well it was a typo error that I didnot update the comments part. So the delay of 0.2 sec causes an update after 0.2 sec only. Thank you for letting me know that.
Well regarding using appdata, I am not quite sure how to pass variables in the other function with the "@" sign , so had to use this alternative. If you could modify it and let me know later at your convenience, it would rather help my knowledge in passing variables to a function

18 Oct 2006 Magic!!!. Guesses the number in your mind!! This game will guess the number in your mind. Its Magic!! Author: Vihang Patil D'Errico, John

This no longer requires the image processing toolbox - thanks for removing that impediment for any users.

I don't know how to rate this. Purely as a game, no, this is not a difficult game to play.

On the other hand, the author has built a nice gui interface (that made me smile.) In terms of how the interface works, this submission probably merits a 5.

18 Oct 2006 GIF Player This function will display the animated GIF's in the figure window Author: Vihang Patil x@y.z, Jos

That you created this in a hurry, does not mean that you have to post it directly. The FEX can wait ...

The use of appdata should be avoided.
A delay of 0.2 causes an update every 0.5 seconds ???

16 Oct 2006 Magic!!!. Guesses the number in your mind!! This game will guess the number in your mind. Its Magic!! Author: Vihang Patil D'Errico, John

When your code uses a specific toolbox, AS THIS ONE DOES, please flag that fact when you submit the file.

This code uses the image processing toolbox, for no terribly important reason.

 

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