Question

Computing Operating point using Simulation Snapshots

I used simulation snapshots and got an operating point which i then uses the operating point to initialize my model. after th...

9 years ago | 1 answer | 0

Question

(Simulink/MPC) Unable to linearize with an if...else loop

I am trying to design an MPC Control for my project but it seems that the Simulink cannot linearize my model accurately due to t...

9 years ago | 1 answer | 0

Answered

MPC Controller gives 0 as output

Hi Rong I actually using simulink to auto design my MPC controller and this is what i get: Linearization Result: ...

MPC Controller gives 0 as output

Hi Rong I actually using simulink to auto design my MPC controller and this is what i get: Linearization Result: ...

9 years ago | 0

Question

MPC Controller gives 0 as output

Im using Simulink MPC Toolbox to design my MPC controller. It has successfully designed the MPC controller but it appears that t...

9 years ago | 1 answer | 0

Question

Question on MPC/PID Controller in Simulink

I am trying to do a control using either MPC or PID controller but getting some problems in the designing: Qn: 1) Does MPC p...

9 years ago | 1 answer | 0

Answered

synchronizing simulink with m-file

How do i actually add this code in? let say my i want to call is: function rto=access() rto = get_param(gcb,'RuntimeObj...

synchronizing simulink with m-file

How do i actually add this code in? let say my i want to call is: function rto=access() rto = get_param(gcb,'RuntimeObj...

9 years ago | 0

Question

synchronizing simulink with m-file

im need to synchronize output from simulink with MATLAB platform currrently what im using is (running in matlab platform) rt...

9 years ago | 2 answers | 0

Question

Write Array into OPC blocks in Simulink

How can i write array into OPC write blocks in Simulink? I tried writing an array into Bucket Brigade.ArrayOfReal8 through the...

9 years ago | 0 answers | 0

Question

Writing Data into OPC Simulink Blocks

Im totally new to these OPC blocks and was trying out the functions I noticed that when i tried to write things into the OPC Wr...

9 years ago | 1 answer | 0

Question

Make error in Simlink

Hi all i am currently using constants block as input parameters for my simulink model, but i need to convert them into a m-fi...

9 years ago | 1 answer | 0

Answered

Algebraic Loop Problem

Sry didnt notice that there were post on this already. http://www.mathworks.com/matlabcentral/answers/925-loop-algebraic-and-v...

Algebraic Loop Problem

Sry didnt notice that there were post on this already. http://www.mathworks.com/matlabcentral/answers/925-loop-algebraic-and-v...

9 years ago | 0

| accepted

Question

Algebraic Loop Problem

Hi i have a S-function block that works perfectly fine when i didnt feedback it as an input for the S-function. When i fee...

9 years ago | 2 answers | 0

Question

Controlling output from Simulink

Hi all My simulink is running at a fixed time step of 0.1 and i need my block to produce output at alternate time like 0,0.2,0....

9 years ago | 3 answers | 0

Question

Switching between 3 inputs in Simulink

I thinking of switching between 3 inputs in simulink but currently the manual switch can only accommodate 2 inputs. Is there any...

9 years ago | 1 answer | 0

Question

Building PID without transfer functions

Is it possible for me to build a PID without transfer function in Simulink interface? Let say i have a temperature output (be...

9 years ago | 2 answers | 0

Question

Constant Input

Im interested in puting an input of constant value of 1 for 5s into my simulink model, i.e at time t=0, value=1 and t=5, the val...

9 years ago | 1 answer | 0

Question

Use of integrator in Simulink

Im trying to find the area under the graph (called it graph A) from simulink graph A looks something like this: <<[IMG]http://im...

9 years ago | 1 answer | 0

Answered

L U decomposition

Maybe u can try adding X=x to allow it to ouput the values of x? not sure if this is what u want. edwin

L U decomposition

Maybe u can try adding X=x to allow it to ouput the values of x? not sure if this is what u want. edwin

9 years ago | 0

Question

Mex -setup compiler

My MATLAB Version is 7.11.0.584 (R2010b) and i am trying to run a simulink model on it. But an error occur during the parsin...

9 years ago | 2 answers | 1

Question

fmincon exitflag=5

"Optimization terminated: magnitude of directional derivative in search direction less than 2*options.TolFun and maximum constra...

9 years ago | 1 answer | 0

Question

Changing Simulink Graph axis

Hi all i want to change the x-axis of the simulink garph from a scope into a self defined range of values of x instead of usi...

9 years ago | 1 answer | 0