Posts

What is .TLC (Target Language Compiler) and MEX file in Matlab Simulink

Image
TLC (Target Language Compiler) files are used to customize the code building process. They generally come in two varieties System/model tlc files that help in the overall model conversion process Block level tlc files which describe how individual blocks (typically S-Functions) get converted to C code. Target Language Compiler (TLC) is an integral part of the code generator. Use TLC to customize generated code. Through customization, you can produce platform-specific code and incorporate your own algorithmic changes for performance, code size, or compatibility with existing methods. With the Target Language Compiler, you can : 1. Customize the set of options specified by your system target file. 2. Inline the code for S-Function blocks. 3. Generate additional or different types of files. https://in.mathworks.com/help/rtw/ref/tlc.html https://in.mathworks.com/help/rtw/tlc/what-is-the-target-language-compiler.html The Target Language Compiler™ is

PID Controller

Image
https://www.ni.com/en-us/innovations/white-papers/06/pid-theory-explained.html PID Controller are popular because of 1. Functional simplicity 2. Ro bust performance in a wide range of operating conditions 3. Simple operation PID algorithm consists of three basic coefficients; proportional, integral and derivative which are varied to get optimal response. Idea behind a PID controller is to read a sensor, then compute the desired actuator output by calculating proportional, integral, and derivative responses and summing those three components to compute the output. In a typical control system, the  process variable  is the system parameter that needs to be controlled, such as temperature (ÂșC), pressure (psi), or flow rate (liters/minute). A sensor is used to measure the process variable and provide feedback to the control system. The  set point  is the desired or command value for the process variable, such as 100 degrees Celsius in the case of a temperature control system.

BootUp Process of Computer

Image
Once video has been enabled, http://www.dewassoc.com/kbase/hard_drives/master_boot_record.htm https://www.engineersgarage.com/tutorials/how-computer-pc-boots-up https://manybutfinite.com/post/how-computers-boot-up/ https://opensource.com/article/17/2/linux-boot-and-startup https://www.thegeekstuff.com/2011/02/linux-boot-process/ http://www.dewassoc.com/support/msdos/dos_commands.htm http://flint.cs.yale.edu/feng/cos/resources/BIOS/ http://flint.cs.yale.edu/feng/cos/resources/BIOS/biosextension.htm Windows Boot Troubleshooting (great resource on boot process) -  https://docs.microsoft.com/en-us/windows/client-management/advanced-troubleshooting-boot-problems https://www.howtogeek.com/398493/what-exactly-happens-when-you-turn-on-your-computer/ https://www.howtogeek.com/124711/what-does-my-bios-do-after-booting/ https://www.lifewire.com/what-is-cmos-2625826 https://www.quora.com/Why-are-CMOS-and-BIOS-needed-in-a-computer https://www.computerhope.com/issues/ch0