Answered
How to run model form m-file and save final values
The 'Outport' will help you get the values in MATLAB Workspace. From there you can use it in your m-file. If you also want to sa...

11 years ago | 1

| accepted

Answered
i have oscillating signal at scope in simulink, how i can get the average of this signal?
Well, I don't think there is a Mean block or Average block for this operation. What you can do is use an 'Outport'. This will ta...

11 years ago | 0

Answered
How to pause execution of program until a keypress
the command 'pause'. It pauses the program until keypress.

11 years ago | 4

Answered
How can we join two matrices of two dimmention
C = horzcat(A,B); If A and Bb are the two matrices.

11 years ago | 0

Answered
How can I skip initial value on continuously updating closed loop system?
This should work. I hope so.

11 years ago | 0

Answered
Importing Excel-Spreadsheet with columns of NaN
Use xlsread. [num,txt,raw] = xlsread('filename.xlsx'); and then check with 'isnan' to get the corresponding column name.

11 years ago | 0

Answered
how to check significance testing?
That's because your conditions are wrong. If z>=2*t, then that means you have already satisfied the condition t<=z. And so you a...

11 years ago | 0

| accepted

Answered
How can I skip initial value on continuously updating closed loop system?
You can specify the initial condition or value as 1 or whatever value you want for the integrator block. Just double click the i...

11 years ago | 0

Answered
once matlab is closed is there any way to edit the gui which was working previously.
You should open the guide file of your GUI and change the position there.

11 years ago | 0

Answered
what is the parameter to be change to 2 or 3 line only in single graph?
Use 'hold on' or you can also use the plot command as plot(x1,y1,x2,y2,...)

11 years ago | 0

Answered
License checkout failed - License Manager Error -4
http://www.mathworks.de/matlabcentral/answers/101313-why-do-i-receive-the-error-license-manager-error-4

12 years ago | 0

Answered
When saving a figure with 'print', not all of the figure is saved
I am not so sure, but are you passing the handles of the plot or the axes? That may be one reason. Also, out of curosity what is...

12 years ago | 0

Answered
Importing figure to MATLAB GUI using handles??
When you know the handles of the axes in the GUI, you can plot the data in it. Something like plot(handles.axes_1,x,y);

12 years ago | 0

Answered
how to read data directly from com port using matlab?
http://www.mathworks.de/de/help/matlab/matlab_external/writing-and-reading-data.html Its a pretty good link! Hope it helps!

12 years ago | 0

Answered
Controlling which GUI is active/on top
http://www.mathworks.de/de/help/matlab/ref/figure.html?searchHighlight=figure I hope this helps!

12 years ago | 0

| accepted

Question


To design a user friendly GUI
Hello All I am trying to design a GUI in which the number of radio buttons change according to the number calculated by anoth...

12 years ago | 2 answers | 0

2

answers

Question


How to give two inputs to a state space system in simulink?
Hallo Everyone I have quite a simple doubt, but one that has been bugging me for quite a while. As the question states, I am ...

12 years ago | 2 answers | 0

2

answers

Question


How to maintain the precision of data?
I am working with data in the range of microns and although I can read it from the text file with precision, when I work with th...

12 years ago | 0 answers | 0

0

answers

Question


Reading data from a text file
Hallo I usually used load function to read text files. However, this time my text file has the first column as p1 p2 p3 and s...

12 years ago | 2 answers | 0

2

answers

Answered
Gui, m.file works but fig doesn't
This question has been asked before. http://www.mathworks.de/matlabcentral/answers/56203 this helped me in understanding the pro...

12 years ago | 0

Answered
How do I ensure that the fields within handles stay available throughout GUI Callbacks?
If you are having a problem of updating the handles, you should use guidata(handle to be updated, handles). Here it might be gui...

12 years ago | 0

Answered
Using Sum(W) ==1 as a condition in a function
I think all you need to do is to pass the value A,B,C,D,E,F,G,H,W when you call this function. It has got nothing to do with sum...

12 years ago | 0

Answered
Formatting exported text data
Precision should be followed by %f. For more info you could go to help dlmwrite or to know how to change the precision values go...

12 years ago | 0

Answered
Need help with calculating the minimum potential energy of two particles.
Hi there! Do you really want structures in your program? If not, then you should remove the punkt in between. %Variable dec...

12 years ago | 0

| accepted

Answered
how can i assign few different calculation for a single pusshbutton
http://www.mathworks.de/de/help/matlab/creating_guis/program-the-simple-guide-gui.html?s_tid=doc_12b#f3-1000605 Follow this l...

12 years ago | 0

Answered
Calling and Using function file to adjust plots
You can save the tubeplot function in a file named as tubeplot.m and then use it as we normally use plot functions. I hope this ...

12 years ago | 0

Answered
how can i assign few different calculation for a single pusshbutton
In the callback function of the Push Button, you can use val = get(handles.popupmenu,'Value') and then use an if else statement ...

12 years ago | 0

| accepted

Answered
How to store a number of arrays in excel file?
I used sprintf instead. And its working too. Thanks a lot. Also, isn't there any other method by which we can write all the data...

12 years ago | 0

Question


How to store a number of arrays in excel file?
Hallo Everyone I am writing data into an excel file. However, the range of the data to be stored keeps changing and I want to...

12 years ago | 2 answers | 0

2

answers

Load more