Skip to content
Technblogy
  • Home
  • Topics
    • Electrical engineering
    • Math
    • Computer
    • MATLAB and Simulink
  • Blog
    • Computer
      • Coding
      • Website
    • Matlab
      • Simulink
    • Electrical
      • Digital Controller
      • Motor
    • Math
  • Project
    • drawio
  • Draw.io
  • 简体中文

   Blog   total 29 posts

Why SVPWM Gives About 15% More Voltage Than SPWM, and Why the Number Changes With Your Definition

November 12, 2026December 27, 2021 by Aris
Space-vector hexagon showing the SPWM linear circle, the larger SVPWM and THIPWM inscribed circle, and a six-step vertex. Simulated diagram.

Relationships of DC line voltage, three-phase 6-step wave output, SPWM output and SVPWM output. Assuming `$$V_\mathrm{dc}$$` is DC voltage.

Categories Electrical, Modulation, Motor Tags Modulation index, PWM, Six-step, SPWM, SVPWM, THIPWM Leave a comment

How to gitignore all files in subfolder except for specific files

December 27, 2021 by Aris

If you are using Simulink Embedded Coder, you will find that multiple subfolders are generated in the project directory. These subfolders contain automatically generated code, such as .c and .h, but also contain many temporary files. When using Git for Read more about How to gitignore all files in subfolder except for specific files

Categories Coding, Computer Tags Git, Simulink Leave a comment

Setup of Windows Remote Management (WinRM) Server and Client

July 22, 2021 by Aris
windows bat icon

The setting of Windows Remote Management (WinRM) is quite confusing. After some hard work, I finally set this function successfully. The following is the configuration process, I hope it helps. Server side start winrm service On Powershell (as admin): net Read more about Setup of Windows Remote Management (WinRM) Server and Client

Categories Computer Tags powershell, windows Leave a comment

Create windows directory structure file using tree command on right content menu

January 6, 2021 by Aris
windows bat icon

On windows, there’s a tree command to display the directory structure of a path or of the disk in a drive graphically. For convenience, I wrote a right-click menu. Whenever I need to get the directory information of a folder, Read more about Create windows directory structure file using tree command on right content menu

Categories Computer, Trick Tags batch, registry, tree Leave a comment

Remove C comments and combine blank lines with Python

January 5, 2021January 5, 2021 by Aris
python logo with green background

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 Read more about Remove C comments and combine blank lines with Python

Categories Coding, Computer Tags C, comments, python Leave a comment

Get the parameters of Simulink block

January 8, 2021December 30, 2020 by Aris
Simulink

Simulink is a powerful simulating and programming tool. In many applications, we need to write scripts to automate specific tasks. At this time, we often need to obtain or modify the parameter values of the block diagram in command line. Read more about Get the parameters of Simulink block

Categories Matlab, Simulink Tags block, get, get_param Leave a comment

Display for-loop percentage in Matlab command console

December 30, 2020 by Aris
Matlab

In Matlab programming, the for loop is a frequently used statement for iterating on arrays. When the array is very large, the execution time of for-loop may be considerably long, and we often expect to obtain information about the executed Read more about Display for-loop percentage in Matlab command console

Categories Matlab Tags console, loop, print Leave a comment

Use containers.Map to realize Key Value lookup function in Matlab

December 24, 2020 by Aris
Matlab

The containers.Map of Matlab can create a data structure (or object) that maps values to unique keys. This function is very useful for storing key-value pairs and doing lookup of keys. Syntax M = containers.Map(keySet,valueSet) Usage keySet specifies the keys, Read more about Use containers.Map to realize Key Value lookup function in Matlab

Categories Matlab Tags map, methods, methodsview Leave a comment

Auto hide header sticky menu on scroll down, auto show on scroll up

December 13, 2020 by Aris
Javascript Logo

Today I wanna share the javascript code I used in this website for auto hiding and auto showing the sticky header menu. This code is more robust than other existing methods. The robust auto hide, auto show effect I prefer Read more about Auto hide header sticky menu on scroll down, auto show on scroll up

Categories Computer, Website Tags Animation, Javascript, jQuery Leave a comment

A workaround for Simulink’s blank diagnostic viewer issue

November 23, 2020 by Aris
Simulink

It looks that in newer versions of Matlab, some HMI (Human Machine Interface, e.g., Diagnostic Viewer, Live Scripting) functions are realized by means of local network port communication. However, this approach seems unreliable. From year 2014 to 2020, many users Read more about A workaround for Simulink’s blank diagnostic viewer issue

Categories Matlab, Simulink Tags diagnostic viewer, HMI Leave a comment
Older posts
Page1 Page2 Page3 Next →

Categories

Alias URL

intelmotor.com (Integrated Electric Motor)
© 2026 Technblogy