How can i access to simulink's 'vco_testbench'block source code? Is it impossible?
30 views (last 30 days)
Show older comments
How can i access to simulink's 'vco_testbench'block source code? Is it impossible?
1 Comment
Steven Lord
on 11 Sep 2024
Could you share a little more information about why you're trying to look at that block's source code? Is it curiosity, is it an attempt to change how the block functions, is it that you think you've found a bug in the block and want to investigate, etc.?
Accepted Answer
Angelo Yeo
on 11 Sep 2024
Edited: Angelo Yeo
on 19 Sep 2024 at 4:52
VCO Testbench block is fundamentally a masked subsystem. You can click the block and press "Ctrl + U" to look under the mask. Also, this is from a library. You can press "Ctrl + L" to look into the original library.
Last but not least, if you are more interested in how the block measures "Phase noise" or "Kvco and Fo", you can open mask editor by clicking the block and pressing "Ctrl + M". The "initialization" function will tell you what the blocks do when simulation started to run. However, note that although these source codes are open to end users, they are not written for your convenience.
0 Comments
More Answers (0)
See Also
Categories
Find more on Simulink Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!