Rank: 1893 based on 76 downloads (last 30 days) and 4 files submitted
photo

Neelakanda Bharathiraja

E-mail

Personal Profile:
Professional Interests:
MATLAB Programming, Automation, Tools and Process Development.

 

Watch this Author's files

 

Files Posted by Neelakanda Bharathiraja View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
08 Jul 2013 Screenshot Highlight the Virtual Blocks Highlights the virtual blocks that are optimized during simulation. Author: Neelakanda Bharathiraja model optimization, sorted order, virtual blocks, add_exec_event_listen..., runtimeobject 13 3
  • 5.0
5.0 | 1 rating
19 Apr 2013 Screenshot Find & Replace System Searches any block/annotation/signal property in a model and replaces with the new value. Author: Neelakanda Bharathiraja find_system, replace_block, search 15 0
19 Apr 2013 Screenshot Pcode Release Utility Create a one pcode file for the main function and the called functions together. Author: Neelakanda Bharathiraja release pcode depfun 20 0
19 Apr 2013 Screenshot Publish the main and the subfunctions together Publishes the main and the subfunctions together into any format as supported by publish command Author: Neelakanda Bharathiraja publish release 28 1
  • 4.0
4.0 | 1 rating
Comments and Ratings by Neelakanda Bharathiraja
Updated File Comments Rating
08 Jul 2013 Highlight the Virtual Blocks Highlights the virtual blocks that are optimized during simulation. Author: Neelakanda Bharathiraja

Thanks to Murali Mohan, Will Campbell and mohmmud for your comments and ratings.

@Will Campbell - Here are the responses to your comments.
1. The tool might have highlighted all the blocks, because you might have run the function more than once in the same session. The tool is modified to use "RuntimeObject" to identify the virtual blocks instead of using "add_exec_event_listener". This change avoids this issue. Please let me know if the issue still present.
2. You comments related to model reference block is correct. It will not scan through the model reference blocks. For referenced models, we have to run function separately to see the respective virtual blocks. I added this comment in the description itself now.
3. Yes, this automation creates unsaved changes for the model which we have executed. Added a warning message at the end and a note in the description.

Comments and Ratings on Neelakanda Bharathiraja's Files View all
Updated File Comment by Comments Rating
20 Feb 2014 Publish the main and the subfunctions together Publishes the main and the subfunctions together into any format as supported by publish command Author: Neelakanda Bharathiraja Dameon

This runs perfectly for publishing all functions and nested functions. Only gone about three levels deep but so far.

There is a problem that it crashes MatLab when it tries to publish functions with PLOT's.

Plus a minor detail, the call function commands are a little hard to find in the documentation and are inconsistent in a few places.

After tinkering I found these worked:

publish_all_functions('main_sample_function','pdf')

publish_all_functions('main_sample_function','html')

08 Jul 2013 Highlight the Virtual Blocks Highlights the virtual blocks that are optimized during simulation. Author: Neelakanda Bharathiraja Neelakanda Bharathiraja

Thanks to Murali Mohan, Will Campbell and mohmmud for your comments and ratings.

@Will Campbell - Here are the responses to your comments.
1. The tool might have highlighted all the blocks, because you might have run the function more than once in the same session. The tool is modified to use "RuntimeObject" to identify the virtual blocks instead of using "add_exec_event_listener". This change avoids this issue. Please let me know if the issue still present.
2. You comments related to model reference block is correct. It will not scan through the model reference blocks. For referenced models, we have to run function separately to see the respective virtual blocks. I added this comment in the description itself now.
3. Yes, this automation creates unsaved changes for the model which we have executed. Added a warning message at the end and a note in the description.

03 Jul 2013 Highlight the Virtual Blocks Highlights the virtual blocks that are optimized during simulation. Author: Neelakanda Bharathiraja Mohan, Murali

02 Jul 2013 Highlight the Virtual Blocks Highlights the virtual blocks that are optimized during simulation. Author: Neelakanda Bharathiraja Campbell, Will

A noble idea, but this doesn't appear to do what it's supposed to. I ran the function, and it highlighted every block in my model. It doesn't work across model reference boundaries. It creates unsaved changes since you temporarily change the startfcn.

18 Apr 2013 Highlight the Virtual Blocks Highlights the virtual blocks that are optimized during simulation. Author: Neelakanda Bharathiraja awajah, Mosbah

good

Contact us