How can I vary a block parameter as if it is tied to a dynamic simulation parameter such as a block input and update at each simulation time step in Simulink 6.5 (R2006b)?

2 views (last 30 days)
I would like to adjust the value of a block parameter for the "Permanent Magnet Synchronous Machine" block at every time step during a simulation.
I want the block parameter to be tied to a dynamic simulation parameter and update at each step as if it were a block input instead of a parameter.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This functionality is not readily available in Simulink 6.5 (R2006b).
A workaround is to build the Permanent Magnet Synchronous Machine system using standard Simulink blocks and employ “flux” variable as an input port signal rather than a block parameter.
This way you can generate the flux signal by means of a source block (for example, the 'From Workspace' block) and feed it into your manually-built system.

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products


Release

R2006b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!