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

Blog

   Blog   total 29 posts

Motor
Electrical

Relationships of DC line voltage, three-phase 6-step wave output, SPWM output and SVPWM output.

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

By D, 1 year1 year ago
Coding

How to gitignore all files in subfolder except for specific files

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…

By D, 1 year1 year ago
windows bat icon
Computer

Setup of Windows Remote Mangement (WinRM) Server and Client

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…

By D, 2 years ago
windows bat icon
Computer

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

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…

By D, 2 years ago
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 Read more…

By D, 2 years2 years ago
Simulink
Matlab

Get the parameters of Simulink block

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…

By D, 2 years2 years ago
Matlab
Matlab

Display for-loop percentage in Matlab command console

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…

By D, 2 years ago
Matlab
Matlab

Use containers.Map to realize Key Value lookup function in 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…

By D, 2 years ago
Javascript Logo
Computer

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

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…

By D, 2 years ago
Simulink
Matlab

A workaround for Simulink’s blank diagnostic viewer issue

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…

By D, 2 years ago

Posts navigation

1 2 3 Next
Categories
Alias URL
prof.ws
intelmotor.com

  • Home
  • Blog
  • Project
Log In    Technblogy