Technblogy
  • Home
  • Blog
    • Computer
      • Coding
      • Website
    • Matlab
      • Simulink
    • Electrical
      • Digital Controller
      • Motor
    • Math
  • Project
    • drawio
  • Draw.io

python

   python   total 2 posts

python logo with green background
Coding

Remove C comments and combine blank lines with Python

Based on the References, I modified the code collected by ChunMinChang, and added the blankLineRemover function for combining multiple blank lines into single empty line. This py code is useful for processing the codes generated by Simulink Embedded Coder, since the generated codes may contain annoying comments on version control, Read more…

By D, 4 years4 years ago
python logo with green background
Coding

Extract symbols’ address and size information from (C6000 DSP) .out file

In order to facilitate the debugging needs of C6000 DSP, I need to obtain the addresses and sizes of all variables inside the DSP. The cg_xml package from TI does not provide variable size information, so I wrote this python script to extract variable information from the .out file and Read more…

By D, 5 years ago
Categories
Alias URL
intelmotor.com (Integrated Electric Motor)

  • Home
  • Blog
  • Project
Log In    Technblogy