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

más de 10 años hace | 0

Pregunta


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

más de 10 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 11 años hace | 2 respuestas | 0

2

respuestas

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

casi 11 años hace | 0

Pregunta


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

casi 11 años hace | 0 respuestas | 0

0

respuestas

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

casi 11 años hace | 0

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

casi 11 años hace | 0

Pregunta


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

casi 11 años hace | 4 respuestas | 0

4

respuestas

Respondida
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

alrededor de 11 años hace | 0

Pregunta


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

alrededor de 11 años hace | 4 respuestas | 0

4

respuestas

Pregunta


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

alrededor de 11 años hace | 0 respuestas | 0

0

respuestas

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

alrededor de 11 años hace | 0

Pregunta


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

alrededor de 11 años hace | 4 respuestas | 0

4

respuestas

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

alrededor de 11 años hace | 0

Pregunta


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

alrededor de 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 11 años hace | 0 respuestas | 0

0

respuestas

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

alrededor de 11 años hace | 0

Pregunta


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

alrededor de 11 años hace | 1 respuesta | 0

1

respuesta

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

más de 11 años hace | 0

Pregunta


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

más de 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 11 años hace | 0 respuestas | 0

0

respuestas

Respondida
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

más de 11 años hace | 0

Pregunta


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

más de 11 años hace | 3 respuestas | 0

3

respuestas

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

más de 11 años hace | 0

Pregunta


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

más de 11 años hace | 2 respuestas | 0

2

respuestas

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

más de 11 años hace | 0

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

más de 11 años hace | 0

Cargar más