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

8 years ago | 2 answers | 0

2

answers

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

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

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

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

8 years ago | 0

Question


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

8 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

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

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

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

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

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

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

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

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

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

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

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

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

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

9 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

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

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

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

9 years ago | 2 answers | 0

2

answers

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

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

9 years ago | 0

Question


how to embed matlab function simulink
How to call this code in simulink while running as one of it's blocks % intialization global Iref; global Increment; globa...

9 years ago | 5 answers | 0

5

answers

Answered
ERROR: trouble solving algebraic loop - cant solve it
I put unit delay of order zero but the output was square wave at constant level and it shouldn't be

9 years ago | 0

Answered
continuous signal delay
I tried transport delay but the output of this block is zero , i don't know why

9 years ago | 0

Answered
continuous signal delay
but this unit delay is for digital and my signal is analog

9 years ago | 0

Load more