starting matlab gui outside matlab
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...
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...how to convert a Matlab GUI ,matlab independant
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
ill be greatfull
Ensure...Access from MATLAB to a non-MATLAB GUIs
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...Matlab GUI issues
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,
of co...Control of Matlab event loop from C or Matlab
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
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...creating GUI in matlab out of some programs written in matlab
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...call to matlab function from matlab GUI stalls
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...Matlab parallel for loop or Matlab open pool
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:
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
It work fine but I would re...How do I Run a Matlab 6 GUI in Matlab 5
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
...How does matlab work in this issue ? a matlab principle question
I have an ODE solver computing the temperature every month during a year
this script will do the job
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 ...Matlab GUI issues with R2007a
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
[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,
Error in ==> [filename] at 59
[end of error message]
If I try to run the figure through win explorer, I get the following
[Title: "Error Dialog&quo...Run Matlab ... from Matlab
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...Matlab 7 ----> Matlab 6 GUI conversion
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
close your pc and go to sleep magka moy
...MATLAB talking to MATLAB?
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.
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" <email@example.com_> wrote in message
> For my project, I need to have a client program (MATLAB executable)
> talking to a ser...matlab compiler, matlab path, expanded ctf issues
If anyone has used the matlab compiler I would appreciate some help.
I make a very simple test case test.m:
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.
is no...Importing matlab 6.5 GUI in matlab 7.1
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?
....matlab file issues using multiple instances of Matlab from the same user
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-184.108.40.206-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?
In theory, you could probably install matlab twice and run the two installations in parallell without any interferenc...How to transfer a VC matrix to matlab workspace and manipulate it under matlab GUI ?
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 <firstname.lastname@example.org>...
> I would like to transfer a VC matrix to matlab main program workspace,
&...Matlab Tutorial 10 – Matlab GUI tutorial
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...TextBox reading Issue, MatLAB GUI
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,
"M Paheerathan" <email@example.com> wrote in message <firstname.lastname@example.org>...
>...Convert GUI of Matlab R2006a&b to Matlab 6.5
Could you please tell me how to convert a GUI application
created in Matlab R2006a&b to executable file in Matlab 6.5?
...Matlab GUI: can I design auto-hide tool-bar in Matlab?
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,
...Matlab gui as application gui
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 ?
...running matlab gui executable(.exe) file in windows without matlab installed.
is it possible to run an executable file derived from matlab gui, in windows pc without matlab and MCR installed?
"praveen " <email@example.com> wrote in message <firstname.lastname@example.org>...
> is it possible to run an executable file derived from matlab gui, in windows pc without matlab and MCR installed?
My understanding - for what its worth - is that you need to have either Matlab or the MCR installed.
"Dave Robinson" <email@example.com> wrote in message &...