Hello! I have to start my matlab gui outside matlab program (without opening it). Is there something like .bat file in Java for Matlab? Thanks for helping me out... :) Emma Hi Emma, I'm not sure if I understand your question. One way would be to compile the GUI (there is a lot of stuff on that in this forum). Otherwise, if you just want to avoid opening Matlab and loading the file, you can use: 1) a simple .bat file with the following command: matlab -minimize -yourfile.m 2) a shortcut with this line as target (but with the full matlab.exe path), in which you also specify your gui dire...

i am working on a project in MATLAB and i want to make it MATLAB independant... So that it can run on any PC without MATLAB or in other words i want to make an EXE file for the entire project...please if any one can tell me exact details what to do with the set of files . my project is mainly executed from a GUI which further opens another GUI. the input files are in .dat format (present in same folder) and the result is also stored in the same directory in .dat format. i hav heard about mcc comand but didnt get how to use it for my project.. please reply... ill be greatfull Regards! Ensure...

Hallo everybody, In one of my MATLAB functions I invoke external EXE file (another program), which makes some calculations. At the end of the calculations a message appears if I want to quit the exernal program (with 'Yes' and 'No' buttons). I want to close this message, because it interrupts the executaion of the whole MATLAB function(a batch file). The message is generated from the exernal program, not from MATLAB, so I can't use a MATLAB handle to close it. So, does anybody knows how I can close those non-MATLAB generated message (GUI) with a command in the MATLAB...

I am completely new to building matlab GUI's and as such I am running into a problem trying to get various buttons and popup menus to talk to each other. I am trying to get a series of 4 popup menus to select preloaded .mat files from the base workspace and then have a plotting button plot specific entries of the .mat file to a figure. I am wondering if this is even possible to do and if so how do I make sure that the pushbutton callbacks get the variables selected by the popup menu and how do I ensure the popup menu correctly points to the loaded .mat file? Thanks in advance, Adam of co...

I was wondering if there is a way to control Matlab event loop? Is there a way to make Matlab be able to respond to key presses in Matlab GUI or call from C (via engine) and to either pause or stop its execution. I know that Matlab can execute items on its 'event queue' when pause() or drawnow() etc are called, but that means that I have to explicitly put those in the code. Is there some way that would be more elegant? Second question is about the 'event queue.' How does one add things to the event queue? How can I add a call from, say, C engine such as evalString() to the ev...

I have written some code in matlab for my application. I want to make a graphical interface so that an user can easily use my code. I do not know, how to link my code or a particular function when user clicks on a particular button. I mean, how to assign a function written by me to a push button so that it will execute the function. And how to give the input to my function and get output after executing the particular function. I am quiet familiar with matlab code. But I am absolutely new with GUI in matlab. Please help me to deal with the above problem. On 4/12/2011 12:37 AM, sk maidul haq...

I have the following problem. I have created a simple Matlab GUI (for our purposes it can just be considered a Matlab function) which gathers some parameters and then invokes a perl script that in turn calls other perl and Matlab scripts to perform various calculations. If instead of using the Matlab GUI, I run the perl command from the unix prompt, the flow runs and concludes correctly. BUT if I invoke the flow from the Matlab GUI (function), then it runs correctly by calling various other perl and Matlab scripts, but then when it reaches the third Matlab function call, it consistently stalls...

I am trying to to some computations and I would like to do it in parallel using parfor or by Opening the matlabpool.. as the current implementations is too slow: result=zeros(25,16000); for i = 1:length(vector1) % length is 25 for j = 1:length(vector2) % length is 16000 temp1 = vector1(i); temp2 = vector2(j); t1 = load(matfiles1(temp1).name) %load image1 from matfile1 t2 = load(matfiles2(temp2).name) % load image2 from matfile2 result(i,j)=t1.*t2 end end It work fine but I would re...

Hi there everyone!! I am designing a Matlab 6 GUI at the university, but have Matlab 5 at home. If I try to run the Matlab 6 Gui,it doesnt want to open. Is there a way to open Matlab 6 GUI's in Matlab 5. Any help will be appreciated Hugo ...

Hello everyone I have an ODE solver computing the temperature every month during a year this script will do the job for j=1:12 [t,T]= ode45(@monthly_solver,tspan,Tic,[],monthly_heat(j),h2(j),); end where Tic is the intial temperature and J loops represents the months Now the question is about matlab principle and how does it work with the initial condition? i mean as the last temperature of the 1st month is the begining temperture of the 2nd month and the last temp. of the 2nd month is the begining temp. of the 3rd month and so on. Do i need to write a command to do ...

I am having a problem with Matlab GUI on R2007a that I cannot find a solution for online. Hopefully somebody here can help. The program has been running with no problems until recently. For no apparent reason, I can no longer open the .fig file to edit through GUIDE. When I try to open the file in GUIDE, I get an error as follows: [Title: "GUIDE"; Icon: error] Unhandled internal error in guidefunc: Error using ==> <a href="error:C:\Program Files\MATLAB\[...]\hgload.m, 156,1">hgload at 156</a> Recursion occurs when loading Z:\MatLab\[filename.fig] Error in ==> hgload at 156 Error in ==> guidefunc>newGuideFig at 1919 Error in ==> guidefunc>readSavedFigure at 2271 Error in ==> guidefunc at 96 [end of error message] When I try the .m file, it will open and I can edit the code, but when I try running it I get a similar error: ??? Error using ==> hgload at 156 Recursion occurs when loading Z:\MatLab\[filename.fig] Error in ==> openfig at 78 [fig, savedvisible] = hgload(filename, struct('Visible','off')); Error in ==> gui_mainfcn>local_openfig at 271 gui_hFigure = local_openfig(gui_State.gui_Name, gui_SingletonOpt, gui_Visible); Error in ==> [filename] at 59 gui_mainfcn(gui_State, varargin{:}); [end of error message] If I try to run the figure through win explorer, I get the following error message: [Title: "Error Dialog&quo...

Hello, Is there any limitation to run Matlab from Matlab, as a system command, on Linux platforms ? I tried to start Matlab, both using the ! syntax (!matlab&) or the system command (system('matlab&')), the Matlab splash screen appears, but the new Matlab session closes rapidly . When I do the same with a script of mine (system('matlab -r "myscript"&')), my script is being executed, but Matlab finally crashes . If I remove the &, it works well, but the first Matlab session is blocked till I close the second one . I run Matlab on a Linux 64bits pla...

Hi, I have a question related to whether it is possible to convert a .fig file that was created in Matlab 7 into Matlab 6. I am running on my machine Matlab 6 and when i am trying to run the gui created in a recent version of Matlab, it fails Thanks George close your pc and go to sleep magka moy ...

For my project, I need to have a client program (MATLAB executable) talking to a server program (also MATLAB executable) to query data. Is there any easy way to accomplish that? I appreciate any help that I can get on that. Thanks. Cheers, Hoi Oops, I forgot to mention. There are multiple clients querying the server, so I guess serial objects + remote serial port wouldn't work. "Hoi Wong" <wonghoi.ee@gmail.com_> wrote in message news:f3ald6$gg4$1@news.Stanford.EDU... > For my project, I need to have a client program (MATLAB executable) > talking to a ser...

Dear All: If anyone has used the matlab compiler I would appreciate some help. I make a very simple test case test.m: function test fprintf('Hello world\n'); test2 And test2.m: function test2 fprintf('2Hello world\n'); I do mcc -m test Run it runs beautifully. Now, same thing, move test2.m somewhere on matlab path. test still runs in matlab. I do mcc -m test, and get error: misha@misha-d630:~/Montague Lab/code$ ./test This MATLAB file does not have proper version information and may be corrupt. The file '/home/misha/Montague/matlab/test2.m' is no...

I use MATLAB 7.1. If I open an existing GUI project built in 6.5 MATLAB with GUIDE tool, .fig is loaded correctly but .m is not loaded (it has the same name of .fig), then when I run the GUI and click on buttons I got function not found errors: ??? Undefined command/function 'fsv'. ??? Error while evaluating uicontrol Callback. How can I reassociate .m with his .fig? ...

Hi, I run multiple instances of matlab without a problem most of the time. On occasion, I get errors complaining that it cannot load certain files in my .matlab folder. Errors: Error occurred loading: ~/.matlab/R2007a/toolbox_cache-7.4.0.158-2471009727-glnxa64.xml My guess that there's an occasional race condition when trying to access these files. Is there a way to prevent this from happening, or specify a different .matlab directory for each instance? Thanks, John In theory, you could probably install matlab twice and run the two installations in parallell without any interferenc...

I would like to transfer a VC matrix to matlab main program workspace, than i can observe it by Matlab array editor, or directly manipulate it under matlab GUI. I tried engdemo.c, but i found that under this mode, matlab runs on background, there is no matlab main program GUI, I can only excute matlab command on C, and see result, like ploting. how should this be done ? Thank you so much. "KS " <CHH@itri.org.tw> wrote in message <hs008g$256$1@fred.mathworks.com>... > I would like to transfer a VC matrix to matlab main program workspace, > &...

http://learnbyexamples.org Why use a GUI in MATLAB? The main reason GUIs are used is because it makes things simple for the end-users of the program. If GUIs were not used, people would have to work from the command line interface, which can be extremely difficult and fustrating. Imagine if you had to input text commands to operate your web browser (yes, your web browser is a GUI too!). It wouldn’t be very practical would it? In this tutorial, we will create a simple GUI that will add together two numbers, displaying the answer in a designated text field. This tutorial is written for...

In MatLAB GUI. In some text boxes I'm entering some values and reading it by using get and then updating it in some other text boxes. The Problem is, Say When I edit the text box values, If I leave the mouse cursor in a certain text box, that certain text box value is not read But If I point the cursor somewhere (Cursor focus will be removed from mentioned text box) , then the value is read. How to tackle this problem? Thanks in Advance, Paheerathan "M Paheerathan" <mp.mscproject@yahoo.com> wrote in message <i0jlat$m2r$1@fred.mathworks.com>... >...

Could you please tell me how to convert a GUI application created in Matlab R2006a&b to executable file in Matlab 6.5? Thank you. ...

Hi all, I want to design a tool bar that can be dock on to the top of the screen and can be auto-hide. Can Matlab do this? I ask this question because in my program, everything else is in Matlab, but the GUI looks ugly with simple buttons and menus. I want to have better GUI. Is that doable in Matlab? Thanks a lot, -Gino ...

Hi , Is it possible, to use (or to develop) an application gui that is just like the Matlab gui ? I would like to have several workspaces with different ways to show data. Many IDE (e.g Eclipse, Visual Stusio etc) have a common type of IDE. I would like to have such a structure for my app. Any advise how to do this ? Thanks Arthur ...

is it possible to run an executable file derived from matlab gui, in windows pc without matlab and MCR installed? praveen "praveen " <praveenignatius17@gmail.com> wrote in message <hg7epv$ntp$1@fred.mathworks.com>... > is it possible to run an executable file derived from matlab gui, in windows pc without matlab and MCR installed? > > praveen My understanding - for what its worth - is that you need to have either Matlab or the MCR installed. Regards Dave Robinson "Dave Robinson" <dave.robinson@somewhere.biz> wrote in message &...

Undocumented, unsupported and hidden features in Matlab

... 23°21′N 90°42.5′E / 23.35°N 90.7083°E / 23.35; 90.7083 Coordinates : 23°21′N 90°42.5′E / 23.35°N 90.7083°E / 23.35; 90.7083 Matlab ...

The MathWorks - Developers of MATLAB, Simulink and Stateflow. Offers products for data analysis, visualization, application development, simulation, ...

Read reviews, compare customer ratings, see screenshots, and learn more about MATLAB Mobile. Download MATLAB Mobile and enjoy it on your iPhone, ...

In the aftermath of an earthquake, every second counts for disaster victims. Imagine a system that can locate people quickly and help first responders ...

What prompted the development of MATLAB?

If you are trying to compile Matlab into .Net framework, you might encounter this message, even though you have the .Net framework installed ...

Matlab, one of the world's most widely used products for algorithmic development, has long occupied its own niche far removed from EDA and hardware ...

dmtcp - DMTCP: Distributed MultiThreaded CheckPointing matlab -nodisplay -r "parpool('local',4); parfor i=1:10, pause(1); fprintf('%i ',i); end; ...

... so he focused on studying the methodology and the tools available for analyzing 433MHz RF transmission. He describes the process of using MATLAB ...

Resources last updated: 2/19/2016 3:57:17 PM