Risposto
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);

circa 7 anni fa | 0

| accettato

Risposto
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). ...

circa 7 anni fa | 0

Risposto
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."_

circa 7 anni fa | 0

Risposto
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...

circa 7 anni fa | 0

| accettato

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

circa 7 anni fa | 1

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

circa 7 anni fa | 0

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

circa 7 anni fa | 0

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

circa 7 anni fa | 0

Risposto
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...

circa 7 anni fa | 0

| accettato

Risposto
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...

circa 7 anni fa | 0

| accettato

Risposto
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; ?

circa 7 anni fa | 0

Risposto
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...

circa 7 anni fa | 0

Risposto
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...

oltre 7 anni fa | 0

| accettato

Risposto
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...

oltre 7 anni fa | 0

| accettato

Risposto
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?

oltre 7 anni fa | 0

Risposto
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 ...

oltre 7 anni fa | 0

Domanda


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...

oltre 7 anni fa | 1 risposta | 0

1

risposta

Risposto
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....

oltre 7 anni fa | 0

| accettato

Risposto
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...

oltre 7 anni fa | 0

| accettato

Risposto
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>

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

Risposto
Set data into separate workspaces.
interactively? use uiimport

oltre 7 anni fa | 0

Risposto
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)...

oltre 7 anni fa | 0

Risposto
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 ...

oltre 7 anni fa | 0

Risposto
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....

oltre 7 anni fa | 0

Risposto
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(...

oltre 7 anni fa | 0

Risposto
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 ...

oltre 7 anni fa | 0

Risposto
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]);

circa 8 anni fa | 0

| accettato

Risposto
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> .

circa 8 anni fa | 0

| accettato

Risposto
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

circa 8 anni fa | 1

Carica altro