how to configure a variable in a simulink block which changes with the simulation results

Hello,
I need to configure an rectangular QAM modulator which 'M-ary number' changes with the simulation results. so i need to give a variable name (ex-mode) which changes with the simulation results. so i need to calculate the mode real time & to change the 'M-ary number'(mode) while simulation is being done. how can i get it done. please help me here.
thanks in advance.
Ranga

 Accepted Answer

You cannot change a parameter based on the output of another block. Please see this blog post for an explanation. You might need to implement your own modulator using basic Simulink blocks to take the 'M-ary number' as an input signal instead of as a parameter.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!