已回答
MATLAB Guide - Simulating a 4 digit keypad?
find the attached gui. you can use this for your requirement. hope this works

10 years 前 | 1

| 已接受

已回答
Help With Error: "Attempted to access S_0(2); index out of bounds because numel(S_0)=1."
In the code u have declared S_0 and S_1 as scalars and you are trying to access them as vectors in the for loop.S_0 and S_1 ha...

10 years 前 | 0

| 已接受

已回答
How can I use struct variables in simulink model?
hi, 1.Struct variables can be implemented with the help of bus objects in simulink 2. they cannot be dynamically created or ...

10 years 前 | 0

已回答
How do I program a pushback button on a GUI to open a folder?
use the command uigetdir in the call back function of the pushbutton

10 years 前 | 0

| 已接受

已回答
(Solved) How to plot the variance of elements in each bin of histogram?
plot the histogram using hist command then hold the figure using hold on. then plot the variant using plot command hist(a...

10 years 前 | 0

已回答
i need help with this>?
A=[2,5,10;-8,-1,11;43,6,-2]; function B = ReplaceFunction(A) [m,n] = size(A); for i = 1:m for j = 1:n if(A(i,...

10 years 前 | 0

已回答
How can i get a pathname with \*.jpg for an image folder.
[fname, pname] = uigetfile({'*.jpg','*.jpeg'})

10 years 前 | 0

已回答
How to loop over these values?
Try this.. for i = 1 : length(cursor_info) out_var(i,1) = cursor_info(1,i).Position; end

10 years 前 | 0

已回答
Problem with Enable subsystem in simulink
The output of the enable subsystem holds the value even if the subsystem is disabled. If you want to reset the output value do a...

10 years 前 | 0

已回答
I' am facing a error"Out of memory. Type HELP MEMORY for your options."
you can adjust your matlab heap memory if you are working with very huge data. go to matlab>>file>>preferences and follow the s...

10 years 前 | 0

已回答
add columns (as operations of original colms) at specific intervals in array w'out overwriting original colms
A = [0.0937 -0.0227 -0.0904 -0.0852 -0.0887 0.1397 -0.0505 0.0211 0.0095 -0.0267 0.0627 -0.0356 0.2087 -...

10 years 前 | 0

已回答
how to append "specific columns" in an array
A = [0 0 0 0;0 0 1 0;1 1 1 1;0 1 0 1]; appending 1st column of A at the end| A = [A A(:,1)];

10 years 前 | 0

已回答
Convert algorithm code to simulink model
Suma, Please find the attached model. I hope this will help you

10 years 前 | 0

| 已接受

已回答
How to display entries of a vector with exclusion?
for i = 1:length(A) idx = A{i}-i; V(idx) = []; end

10 years 前 | 0

已回答
What presetting I require for attending webinars ?
nothing, you just need to have a pc with internet connectivity and speakers. thats it.. Good luck

10 years 前 | 0

| 已接受

已回答
xlsread1 suggested by Antonio will take much time
Excel = actxserver('Excel.Application'); workBook = Excel.Workbooks.Open('filename.xls'); workSheets = Excel.Sheets; ...

10 years 前 | 0

已回答
a queston to plot
for i=1:100 load (['a' num2str(i) '.mat']) hold on end

10 years 前 | 0

已回答
How to get the variables into workspace while running GUI?
use the command evalin('base','who');

10 years 前 | 0

已回答
Remove cells that contain only two or one character
len = length(xx) cnt = 1; for i = 1:len str = char(xx(cnt)) if(length(str)==1 || length(str)==2) ...

10 years 前 | 1

| 已接受

已回答
How to open variables in command line?
use the command openvar(variablename) eg: if variable name is var then enter the command openvar('var')

10 years 前 | 7

| 已接受

已回答
Characteristics of a step response plot
i think this could be helpful http://www.mathworks.in/help/control/ref/stepinfo.html http://www.mathworks.in/help/control/re...

10 years 前 | 1

| 已接受

已回答
help please Need help making a script!!! any help?please
Please check if this satisfies your requirement function mathgame = mathgame() clc; disp('Welcome to the math game!'...

10 years 前 | 0

已回答
help in inserting figure and also open another window using a gui.
you can add 'axes' to your figure file of GUI so that the figure will get displayed in the same gui.

10 years 前 | 0

| 已接受

已回答
how to store the images by some another name after reading in a for loop???
filename = ['g' num2str(i) '.jpg']; saveas(m,filename)

10 years 前 | 0

| 已接受

已回答
how to display a error message then proced further when the string doesnot matches by using for and if loop
try ....your code catch exception disp(exception.message) end

10 years 前 | 0

提问


Integrate assembly code with Simulink Models.
Is there any procedure to integrate the assembly code (.asm) with Simulink models.

10 years 前 | 0 个回答 | 2

0

个回答

已回答
why i am not getting the plot while giving the following program with if else statyement?please help
r=10; d=[1 100 1000]; P1=10^9; P2=130*10^9; s=d./r; a=0; c=2; x=s; if (a<=x<=2) e1=1; else if (x>=2) ...

10 years 前 | 0

已回答
index error for find function
k = find(newf == 14.6484); ppks = Signal_fft_hilbert(k);

10 years 前 | 0

已回答
Basic question from Matlab beginner
plot(age1,wage1); %for 1st person hold plot(age2,wage2);for 2ns person ... ....

10 years 前 | 0

已回答
Switch between subsystems using a trigger
use if action subsystems instead of normal subsystem and connect the output of if/else block to the function call port of the if...

10 years 前 | 0

加载更多