Answered
I can not use functions for NI device
it shows 'daq' not found. and i am using % MATLAB Version 7.10.0.499 (R2010a) %MATLAB License Number: •••••• %Operati...

11 years ago | 0

Question


I can not use functions for NI device
I found I can not use some functions when I tried to acquire data with ni product usb-6008. for example, s = daq.createSes...

11 years ago | 3 answers | 0

3

answers

Question


plot objective function result versus number of generations
i have two m files one of them is the main and the other is the objective function . the file of the objective function have the...

11 years ago | 0 answers | 0

0

answers

Question


plot objective function result
how to plot genetic algorithm variable result on y axis against number of generations on x axis ?

11 years ago | 0 answers | 0

0

answers

Question


initializing simulink parameters from simulink
i have simulink model and it has different know parameters which i should load it every time to workspace from matlab , is ther...

11 years ago | 2 answers | 0

2

answers

Answered
Maximizing a Function
Is this function [oldchrom]=initbp(n,5); not existed in higher matlab version

11 years ago | 0

Question


genetic algorithm programming error
i have three variables and when i run it give this error message Incorrect size of InitialPopulation however it's working we...

11 years ago | 0 answers | 0

0

answers

Answered
using genetic algorithm for optimization
i make the function return one variable fx-val but the program is iterating as it is in a loop and restart its work without stop...

11 years ago | 0

Answered
using genetic algorithm for optimization
this is the fitness function code function [x_pop, fx_val]=PID_objfun_ITAE(x_pop,options) KP=x_pop(1); KI=x_pop(2...

11 years ago | 0

Question


using genetic algorithm for optimization
i have this error message ??? Subscripted assignment dimension mismatch. Error in ==> fcnvectorizer at 14 ...

11 years ago | 4 answers | 0

4

answers

Answered
simulink and m file connection
for example if i used to workspace and i ran simulink the data won't be sent to workspace untill the simulink stopped

11 years ago | 0

Question


simulink and m file connection
i have genetic algorithm written in m file and i want to run simulink from m file then read from simulink to m file the problem ...

11 years ago | 4 answers | 0

4

answers

Question


genetic algorithm programming code
what is the steps to program genetic algorithm for pid tuning using matlab?

11 years ago | 0 answers | 0

0

answers

Answered
embedded matlab function error message
if I-Iold=0 if yes return if no check the next step i don't know "return" here is right or not, so i reversed it i checked th...

12 years ago | 0

Question


embedded matlab function error message
i have this error message "Output argument 'dvref' is not assigned on some execution paths." when executing this code ...

12 years ago | 4 answers | 0

4

answers

Answered
embedded matlab function error message
the answer is that dvref should be outside the if condition but in my flowchart it'snot outside the if condition ,so i don't kno...

12 years ago | 0

Question


solar array webinar record
in this webinar http://www.mathworks.com/webex/recordings/Solar_111809/index.html what is the value of D ( the duty cycle in s...

12 years ago | 1 answer | 0

1

answer

Question


error message in stateflow
this variable K is defined in stateflow chart however this message appeared Vsum = 0; Isum = 0; K = 0; ^ Constant or Para...

12 years ago | 0 answers | 0

0

answers

Answered
if condition problem programing
1-the question is how to code this flowchart? 2- mediafire is safe you download the pic safely . 3- not working means that it ...

12 years ago | 0

Question


if condition problem programing
i want to do this flow chart but i got obstacle on my way which i pointed to in the picture in this link http://www.mediafire.co...

12 years ago | 1 answer | 0

1

answer

Answered
programming error jamming in simulink
I have function made by simulink that gave me curve Pn is a point on that curve , I used In as current that draw a straight line...

12 years ago | 0

Question


programming error jamming in simulink
I have two constants K1 and K2 I need them to be different because i have breaking point function [e,Pm,Ip] = new(In,Vn) p...

12 years ago | 1 answer | 0

1

answer

Question


algebraic loop simulink error؟؟
when using Ipold= Ip in this embedded function code function [e,Pm,Ip] = new(In,Vn) persistent Ipold ; if isempty(Ipold) ...

12 years ago | 0 answers | 0

0

answers

Question


plot simulink variables on mux
I have two variables resulted from simulink in two different running times i want to plot them on one figure as multiplexed . i...

12 years ago | 0 answers | 0

0

answers

Answered
set parameter value from mfile
i think this example in matlab 'Displaying Mechanical State Values During Simulation ' is doing so , but i can't get it

12 years ago | 0

Question


set parameter value from mfile
how to set values on different periods of time in simulink from m file? during simulation , for example if i use this command ...

12 years ago | 3 answers | 0

3

answers

Answered
simulink ode error message
any help ?? errors came when i connect the controlled voltage source to last stage.

12 years ago | 0

Question


simulink ode error message
i am applying pwm on dc/dc converter I connected between simulink element and semipower element bu voltage controlled source ,an...

12 years ago | 2 answers | 0

2

answers

Answered
how to embed matlab function simulink
how to pass them ??

12 years ago | 0

Answered
how to embed matlab function simulink
I used matlab function but it gives me error , i can't write it in script file as it doesn't accept function and i can't write i...

12 years ago | 0

Load more