Answered
Variables become undefined although they are saved in Workspace
Did you also define the workspace *location*? e.g. assignin('base','your_variable_name',your_variable_value);

nästan 7 år ago | 0

| accepted

Answered
Feature request: Breakpoint stop on errors in non Mathworks code
As far as I can remember, you can trace the stack based on the scary red text on matlab command window (when error took place). ...

nästan 7 år ago | 0

Answered
I'm having trouble with a simple menu, can someone help ?
_"The menu function is not recommended. Instead, use the dialog function to create multiple choice dialog boxes."_

nästan 7 år ago | 0

Answered
Wrong color of scatter points
hold off x = rand(3,5); y = rand(3,5); for m = 1:length(x(1,:)) for n = 1:length(y(:,1)) %scatter(x...

nästan 7 år ago | 0

| accepted

Answered
clc and helpdesk botched in 2015a
1) Try which clc to identify copy of clc function, 2. Use doc instead of helpdesk

nästan 7 år ago | 1

Answered
While loop data saved into a vector
counter = 0; is the problem..

ungefär 7 år ago | 0

Answered
Stretching of a figure margins
This has become a frequent question, You might find this useful <http://www.mathworks.com/matlabcentral/fileexchange/27991-t...

ungefär 7 år ago | 0

Answered
why any function as m file, does not work on my pc?
And did you call that with two arguments? new_state(2,3)

ungefär 7 år ago | 0

Answered
Mat file to simulink
It should be simple, Usually the mat file contains variables (for the simulation). Just use constant block with for each inpu...

ungefär 7 år ago | 0

| accepted

Answered
Populate filenames into a GUI listbox..
Hi, To populates the listbox you can use set(handles.*yourlistboxTag*,'String',*yourarraystr*); and put the code in t...

ungefär 7 år ago | 0

| accepted

Answered
How to re-produce an existing variable in the script without using it?
What do you mean by slow and not using the variable in workspace? B = A; ?

ungefär 7 år ago | 0

Answered
How can increase the size of a plot with multiple plots
Hi, Once upon a time :), I stumbled into this old but gold function. It helps me cut the figure sizing/cropping works s...

ungefär 7 år ago | 0

Answered
index out of bounds
What is your _rgb_ value? The error message is very clear. it stated that you tried to access the third index of _rgb_, whil...

ungefär 7 år ago | 0

| accepted

Answered
Anti-Lock Breaking System with pulsed pressure increase and reduction. How can get the controller to "choose" between pressure increase and reduction?
Based on your explanation (haven't got time to look into your model), you might probably need to use <http://nl.mathworks.com/he...

ungefär 7 år ago | 0

| accepted

Answered
How can I get an array so that it forms a matrix with only two columns?
Say, x = 1:5; y = 11:15; xy = [x',y']; Is this what you want?

ungefär 7 år ago | 0

Answered
I have large number of precipitation daily data in a column (for 50 years) for 221 meteorological stations. Now I need to convert it to monthly sum. How can I do that? thanks.
As you perhaps realize, it is important to start the question with all necessary details. Maybe it best if you could upload ...

ungefär 7 år ago | 0

Question


Tracing line in a graph
Dear all, I have question on how to 'trace' a line in a graph. This is my first attempt to do 'image-processing' in Matlab, s...

mer än 7 år ago | 1 answer | 0

1

answer

Answered
GUI interface with dsPIC
Hi Abu, This can't be coincidence, I just replied to your other thread. :) I found this <http://www.kerhuel.eu/wiki/Index....

mer än 7 år ago | 0

| accepted

Answered
how can i sync simulink model with gui? i tried several functions but it nothing heppend still there is problem. i tried SET_PARAM but no result. could any one tell me the proper solution how can i update this problem????????
what do you actually mean with synchronization with GUI? Do you want to update GUI values/graphs based on Simulink model whe...

mer än 7 år ago | 0

| accepted

Answered
Redestribute Excel addins to non-matlab users.
Hope this help, <http://nl.mathworks.com/videos/getting-started-excel-add-ins-using-matlab-compiler-100089.html>

mer än 7 år ago | 0

Answered
Several layer of GUI matlab
something like this? <http://www.mathworks.com/matlabcentral/fileexchange/25938-multiple-tab-gui>

mer än 7 år ago | 0

Answered
Set data into separate workspaces.
interactively? use uiimport

mer än 7 år ago | 0

Answered
My GUI and the corresponding Code stopped working
I seem to recall the same problem I've encountered, it had to do with different (I update) file name between the GUI file (.fig)...

mer än 7 år ago | 0

Answered
How can I import a signal extracting function in a Simulink 'From Workspace'-block?
The From Workspace block looks for Data (s) instead of script (fkt.m). What happen if you put s instead if fkt/fkt.m in the ...

mer än 7 år ago | 0

Answered
How can i communicate between my GUI and my Simulink Model? + "in Real Time"
you can do that by using event listener, here is an example on how to make/use event listener (by Phil Goddard). <http://www....

mer än 7 år ago | 0

Answered
Coordinates in degree in Rose plot
rose theta input is expressed in radians (most of trig-related matlab functions are in radians). You can try this: rose(...

mer än 7 år ago | 0

Answered
How to plot multiple data sets on the same graph - Complex Aggression study
if you want the points have similar color, use hold on if you want the points have alternating color, use hold ...

mer än 7 år ago | 0

Answered
Why the x-axis of the graph didnt follow the lentgh of the data?
After your plot command, add this: set(gca,'xlim',[0 L]);

mer än 7 år ago | 0

| accepted

Answered
Does someone recognize this marked block ? i can not found him in simulink library and i am not so sure how can i get him. is anybody use this block or know what is meaning of them ? Thank's! BR, Anto
Seems to be a <http://nl.mathworks.com/help/simulink/slref/1dlookuptable.html 1D-Lookup Table> .

mer än 7 år ago | 0

| accepted

Answered
how to find y axis value's opposite x axis value
>> x=[1,2,3,4,5,6]; >> y=[2,7,8,9,4,1]; >> opp_x = x(y==9) opp_x = 4

mer än 7 år ago | 1

Load more