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

8 years ago | 0

Answered
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

8 years ago | 0

| accepted

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

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 0

| accepted

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

8 years ago | 0

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

8 years ago | 0

| accepted

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

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 1

| accepted

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

8 years ago | 7

| accepted

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

8 years ago | 1

| accepted

Answered
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!'...

8 years ago | 0

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

8 years ago | 0

| accepted

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

8 years ago | 0

| accepted

Answered
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

8 years ago | 0

Question


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

8 years ago | 0 answers | 1

0

answers

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

8 years ago | 0

Answered
index error for find function
k = find(newf == 14.6484); ppks = Signal_fft_hilbert(k);

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 0

Answered
How to convert string to numeric variable in if statement
for i =1:length(Team) if Team(i)== str2num(C1) Team(i) = 1 elseif Team(i)==str2num(C2) Team(...

8 years ago | 0

Answered
how to read a column named by some header in excel by using matlab?
strings = {'AOA','CAS','IAS','ALT'}; [header,data] = xlsread('myxls.xls','Sheet','Range'); idx = find(strcmp(header,'AOA...

8 years ago | 1

| accepted

Load more