Question


Writing s-functions to be used in real time environmnets
A model is available with me which is built such as to generate code using RTW to run on specific target. Iam tracing out now ho...

10 years ago | 0 answers | 0

0

answers

Answered
I want the value of 'gama1' to be obtained from the following equation
gamma1 variable has been used in the equations prior to its declaration. MATLAB does not understand what is gamma1 until it fac...

10 years ago | 0

| accepted

Answered
i want to give sinusoidal input of 230v 50Hz signal to my power electronics project? how can get this
You can use the AC voltage source simpowersystems ---> Electricla sources------> AC Volatge source

10 years ago | 0

Answered
Element-wise interval conformity check
Without looping, this can be done by accessing each element of a matrix and processing with an if condition. That makes lot of ...

10 years ago | 0

Question


How to interface C API in RTW environment
How to write c API tlc files and inline with the system tlc file to stream the data while code is excuted on specific hardware ...

10 years ago | 0 answers | 0

0

answers

Answered
Is there a specific function forcing user to select a particular option?
you can use i= menu(' Which Pet do You Have?','cat','dog','bird','other'); Which results in a pop up menu with opt...

10 years ago | 0

Answered
taking value of variable after some periods, or after few zero crossing
As i understood from your problem decsription, basically you require a frequency divider. Pls find the attachement for a simpl...

10 years ago | 0

Answered
Where do I have to put the plot?
IN your m-file, m results in a scalar value. Whereas Vcr is an array. Replace the plot command with plot(1:m,Vcr) or plot...

10 years ago | 0

| accepted

Answered
How to store and retrieve value in simulink
You can use integer delay block.

10 years ago | 0