A répondu
Help with GUI panels
This is a good example of why GUIDE is not really suitable at creating even mildly complex GUIs, when I started coding in Matla...

plus de 8 ans il y a | 0

A répondu
How to print result in MATLAB?
The two answers on here are correct - however if you take the for loop from one and the sprintf from the other you get a faster ...

plus de 8 ans il y a | 1

A répondu
if else condition - empty vector
help isempty

plus de 8 ans il y a | 0

| A accepté

A répondu
How can I use fprintf to save a txt file with different size matrix ?
you can loop over the column dimension of your variables when you write the file out, or before the write command check that eac...

plus de 8 ans il y a | 0

A répondu
Assign rename of structure with input command
I also *do not advocate the use of eval*. You could use "assignin", e.g. S.H1 = A(:,2); S.H2 = A(:,3); S.H3 = A(:,...

plus de 8 ans il y a | 0

| A accepté

A répondu
64 bit 32 bit Compatible Standalone App
You can deploy a 32 bit version which will run on a 32 bit or a 64 bit computer. You can't compile a 64 bit from a 32 bit. ...

plus de 8 ans il y a | 1

| A accepté

A répondu
64 bit 32 bit Compatible Standalone App
<http://www.mathworks.co.uk/matlabcentral/answers/42027-error-loading-a-32bit-dll-with-64bit-matlab Does this question describe ...

plus de 8 ans il y a | 1

A répondu
Open text dialog with checkbox
position and units are the 2 properties you want to look at. Specific help wont be possible unless you give specific problem ...

plus de 8 ans il y a | 0

A répondu
GUI closing unexpectedly once published as an application?
run the exe from a command prompt and it will write any error message to that window - that should help you debug.

plus de 8 ans il y a | 1

| A accepté

A répondu
GUIDE: gcf windowscrollWheelFcn and gca ButtonDownFcn interaction
without seeing the actual code I can only speculate - but it sounds like the ButtonDownFcn is being removed when you replot, thi...

plus de 8 ans il y a | 1

| A accepté

A répondu
Remove NaNs during plotting (keep array the same length)
Can you not just use isnan to check if its a nan if ~isnan ( ss(k) ) % do your plotting? end

plus de 8 ans il y a | 0

A répondu
Need help with this Matlab script question? For loop!!
It the start of your while loop the condition includes a check on x(3), hence why you get the error. *edit:* you could fix it...

plus de 8 ans il y a | 0

A répondu
Disabling Cntrl+Left Click = Right Click
You can use the keypressfcn to register if ctrl is pressed and modify your call back in. I'd mouse button

plus de 8 ans il y a | 0

A répondu
Issues exiting from a while loop when the figure is closed
force all of your plot, scale colourbars etc by specifying which axes/figure they are to be plotted on, i.e. plot ( axesHand...

plus de 8 ans il y a | 1

A répondu
How to manualy break a for loop but continue with the rest of matlab code execution?
You can do it all in your loop: h = figure; ax = axes( 'parent', h, 'nextplot', 'add', 'xlim', [0 200] ); x = [1:2000...

plus de 8 ans il y a | 2

A répondu
how to plot a graph
help plot help hold

plus de 8 ans il y a | 0

A répondu
How to generate just one random number in every iteration of for loop?
Your storing each random created in each loop, if you only want one just do x = rand (1);

plus de 8 ans il y a | 1

| A accepté

A répondu
How can I increment different values for every iteration to a for loop?
for k=1:length (a) disp ( a(k) ); end

plus de 8 ans il y a | 0

| A accepté

A répondu
Changing title, line color, weight etc in errorbar figures
is the xlabel etc going on the wrong plot? if so pass in the axes handle: xlabel ( axH, 'x label' ) ylabel ( axH, 'y ...

plus de 8 ans il y a | 0

A répondu
Compiling Code Dependent on External Files
if i recall the files will be extracted into the same directory as your exe - so you could work the relative paths from that sce...

plus de 8 ans il y a | 0

A répondu
File names with spaces used as command line arguments
try putting " around the command, commandStr = '"bertini paramotopy.input /Users/my folder/start"' *edit* So the prob...

plus de 8 ans il y a | 1

A répondu
How to save to a specific filename in a for loop
BTW: eval is rarely the best choice... I think you want: % create your fieldname (sprintf is faster than str2num and jo...

plus de 8 ans il y a | 1

A répondu
What features and improvements do you hope to see in HG2?
much faster generation of legends

plus de 8 ans il y a | 0

A répondu
What features and improvements do you hope to see in HG2?
more consistency across function calls (i.e. in plot you can do: plot ( axHandle, X, Y, etc.... ) but in text you have ...

plus de 8 ans il y a | 1

A répondu
What features and improvements do you hope to see in HG2?
Turning on 3d rotation doesn't remove buttonDownFcn callback from other controls

plus de 8 ans il y a | 0

A répondu
What features and improvements do you hope to see in HG2?
Ability to select nothing (i.e. set to []) from a listbox.

plus de 8 ans il y a | 0

A répondu
What features and improvements do you hope to see in HG2?
when value goes out of range (listbox) don't hide the control - set the listbox selection to [] (i.e. nothing selected)

plus de 8 ans il y a | 0

A répondu
What features and improvements do you hope to see in HG2?
when you have a long time series (minutes) with high frequency data (milli-seconds) datetick doesn't work well when you zoom in ...

plus de 8 ans il y a | 0

A répondu
What features and improvements do you hope to see in HG2?
html support in all uicontrols

plus de 8 ans il y a | 0

A répondu
What features and improvements do you hope to see in HG2?
have CData property in all uicontrols

plus de 8 ans il y a | 0

Charger plus