Matlab code corrsponding to simulink block

4 views (last 30 days)
Hi , I recently started looking @ simulink blocks relate dto communication .I wonder how I can access and see and modify the corresponding code for a block .Let's say Rectangular QAM Modulator Baseband block in simulink ..I want to see the code which actually does this modulation .... I request help....

Accepted Answer

Titus Edelhofer
Titus Edelhofer on 25 Dec 2011
Most often you can't because the code is built in. Some blocks are implemented as masked subsystems, in this case you can take a look at the "code" by right-click->look under mask. Or: if you have Simulink Code (Real-Time Workshop) installed you might generate C-code and take a look at that ...
Titus

More Answers (0)

Community Treasure Hunt

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

Start Hunting!