Réponse apportée
plot line in image via GUI?
in the gui you should force the axes that the plot command should be acting on by giving the plot command the axes handle, i.e. ...

plus de 14 ans il y a | 0

Réponse apportée
Clear image in GUI?
cla(handles.im1)

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
nlinfit returns same values
do you get any warning messages? If your problem is not solvable - then nlinfit can appear to return the same values, do this...

plus de 14 ans il y a | 0

Réponse apportée
Read files in zip file without unzipping
have you seen <http://www.mathworks.cn/matlabcentral/newsreader/view_thread/257028 this> thread - you could try what it suggests...

plus de 14 ans il y a | 0

Réponse apportée
Making structure arrays programmtically.
you can make fields in a structure dynamically, i.e. yourStruct.(yourVariable) = value The fields in your structure ca...

plus de 14 ans il y a | 1

Réponse apportée
can this code be sped up?
you dont appear to initialize your Mat variable, i.e. Mat = zeros(n,m) This should make a big difference to start with

plus de 14 ans il y a | 0

Réponse apportée
stop executing commands in a loop
for i=1:length(x) [y]=firm(x1,x2); if isempty(y) continue end end

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
sprintf or disp
As well as being more flexible, sprintf is also much faster than disp when joining strings together like you have shown. for ...

plus de 14 ans il y a | 1

Réponse apportée
.MAT variables to list box
help load help listdlg help csvwrite

plus de 14 ans il y a | 0

Réponse apportée
Figure window transitions (screen transitions - GUI design)
This is as close as I have got so far on this one: screenSize = get(0,'ScreenSize'); d = dialog ( 'WindowStyle', 'normal...

plus de 14 ans il y a | 1

Réponse apportée
Convert numbers in a 1x1 string to an array.
is your format fixed or is it variable (i.e. the amount of numbers you will have). Do you have a comma after the 1st 0 or is it...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Stop exponential answers
to make it write the number you could do: format long g to actually round your number to the correct number of decimal place...

plus de 14 ans il y a | 0

Réponse apportée
How can I create a function which evaluate only strings which represent only mathematical functions?
Do you want a method of ensuring your end user can only generate valid matlab code which contains valid mathematical equations? ...

presque 15 ans il y a | 1

Réponse apportée
Calling a GUI from excel and keeping it open
In your VBA code you could try the option Application.ScreenUpdating = False I have no experience of running matlab fro...

presque 15 ans il y a | 0

Réponse apportée
How can I display plot edit toolbar on my gui?
help propertyeditor

presque 15 ans il y a | 0

| A accepté

Réponse apportée
getting input
help input

presque 15 ans il y a | 0

Réponse apportée
How do multiply all elements inside a for loop by an array
a=2; b= [1 2 3]; d=[10 20 30]; c=a*b; y=zeros(3,3); for ii=1:length(c) y(ii,:) = d(ii)*c; end

presque 15 ans il y a | 0

Réponse apportée
send data to an output file (.txt) using fprintf
fprintf ( fid, '%i', c1 ); % will write "120" to your file fprintf ( fid, '%i x%i', c1, i ); % will write "120 x1" that ...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
how to use file downloaded from matlab central
or: addpath ( 'yourDirWhereTheFilesAre' )

presque 15 ans il y a | 0

Réponse apportée
format display in MATLAB R2007b
format long

presque 15 ans il y a | 0

| A accepté

Réponse apportée
executing a program then loading results into the matlab GUI?
yes all of that is possible. I would advise that you have a look at these <http://www.mathworks.com/matlabcentral/fileexchange/...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
GUI ButtonDownFcn for clicking on axes
Why dont you just do: set ( h(1), 'ButtonDownFcn', {@mfile_1} ); set ( h(2), 'ButtonDownFcn', {@mfile_2} );

presque 15 ans il y a | 0

Réponse apportée
How can I read ASCII delimited file, that its columns are seperated by more than one delimiter?
using low level commands you can read it as so: fid = fopen ( 'temp.txt', 'r' ); myMat = zeros(6,4); if fid ~= -1 ...

presque 15 ans il y a | 0

Réponse apportée
Vectorize this for loop
did you use profile on profile viewer to ID where the time is lost? You could pull the sin(fecc*t) ...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Using find() on a vector of objects
do you want: p = find ( [obj.x] == 1 ) if not, as suggested earlier can you show obj.x and the error message you get.

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Plots: Designing and Saving
help grid help ylim %use this to get y limits so you can plot ( [10 10], [ymin ymax] ) help title help xlabel ...

presque 15 ans il y a | 0

Réponse apportée
Tab Panel
there is a number of example of the FEX, here is one for <http://www.mathworks.com/matlabcentral/fileexchange/1741 example>

presque 15 ans il y a | 1

| A accepté

Réponse apportée
checking if struct exists, GUI related
using getappdata without specifying the variable name will return a structure with all data as fields in it.

presque 15 ans il y a | 1

| A accepté

Réponse apportée
Stop Command Window Scrolling on Drag and Drop
multi select them and run them all at once by hitting enter. Dont know of any way to "stop" the item being added to the bottom ...

presque 15 ans il y a | 0

Réponse apportée
problem with matlab when executing the same program twice?
are you using a mex function or a dll? If so it could be that one of those has a memory leak? Meaning that clear all is nto ac...

presque 15 ans il y a | 0

Charger plus