2025年1月6日

在wod和wps均遇到的53号错误,提示文件未找到mathtype.wll 安装了7的mathtype

摘要: 1、先找到mathtype的安装目录,在目录下找到 D:\soft\mathtype\MathPage\32\MathPage.wll 注意是32位的,而不是64位的(我的系统是win11 64位的) 2、wps的话就复制到提示的那个目录里面 3、word的话得复制到C:\Program Files 阅读全文

posted @ 2025-01-06 10:29 风中狂笑 阅读(283) 评论(0) 推荐(0) 编辑

2024年12月5日

cmake的下载与安装

摘要: Download CMake 比较简单,按默认选项,最多更换下安装目录,没遇到啥大问题 阅读全文

posted @ 2024-12-05 09:24 风中狂笑 阅读(14) 评论(0) 推荐(0) 编辑

MSYS2的安装

摘要: 官方下载和安装地址 MSYS2 按照这里面的方法安装mingw似乎没作用,因为C:\msys64\mingw64\bin\这个文件夹是空的 之后参考这个帖子1. 基于MSYS2的Mingw-w64 GCC搭建Windows下C++开发环境_msys2使用mingw64编译-CSDN博客 在安装目录下 阅读全文

posted @ 2024-12-05 09:18 风中狂笑 阅读(102) 评论(0) 推荐(0) 编辑

2024年12月4日

Fritzing Is Still Free! (How To Build From Source)

摘要: 参考这篇文献 Fritzing Is Still Free! (How To Build From Source) – Siytek 0、创建文件夹 1、安装qt 2、安装cmake 3、git clone 文件夹 >git clone https://github.com/fritzing/fri 阅读全文

posted @ 2024-12-04 18:56 风中狂笑 阅读(31) 评论(0) 推荐(0) 编辑

2024年11月20日

安装arduino ide2.3之后无法识别端口问题,黄色感叹号

摘要: CH341SER.EXE - 南京沁恒微电子股份有限公司 下载这个ch340驱动,安装之后就ok了 这是如何修改theme Dark Theme for Arduino IDE | Arduino Project Hub 这是链接lcd12864液晶显示屏的例子 MCP23017_LCD12864/ 阅读全文

posted @ 2024-11-20 20:15 风中狂笑 阅读(54) 评论(0) 推荐(0) 编辑

2024年11月19日

arduino中使用serial chart查看串口数据图性

摘要: 参考文章:串口波形显示软件SerialChart的使用-CSDN博客 下载地址:SerialChart – Starlino Electronics arduino代码如下 // 定义LED引脚,这里假设是13号引脚 const int ledPin = 13; void setup() { // 阅读全文

posted @ 2024-11-19 14:05 风中狂笑 阅读(56) 评论(0) 推荐(0) 编辑

2024年11月16日

磁场的绘制

摘要: 详见如下python代码 import matplotlib.pyplot as plt import numpy as np # 定义常量 mu_0 = 4 * np.pi * 1e-7 # 真空的磁导率 (T m/A) # 定义磁偶极子类 class MagneticDipole: def __ 阅读全文

posted @ 2024-11-16 16:41 风中狂笑 阅读(58) 评论(0) 推荐(0) 编辑

电场的绘制

摘要: 详见python小程序 import numpy as np import matplotlib.pyplot as plt # 定义常量 k = 8.99e9 # 库仑常数 (N m^2/C^2) # 定义电荷类 class PointCharge: def __init__(self, char 阅读全文

posted @ 2024-11-16 16:27 风中狂笑 阅读(17) 评论(0) 推荐(0) 编辑

2024年11月12日

贝塞尔曲线的动画演示

摘要: 程序代码如下 import matplotlib.pyplot as plt import numpy as np from matplotlib.animation import FuncAnimation class Point: def __init__(self, x, y): self.x 阅读全文

posted @ 2024-11-12 10:08 风中狂笑 阅读(33) 评论(0) 推荐(0) 编辑

2024年10月30日

latex newenviroment使用

摘要: \newenvironment{myabstract}[1][摘要]{% \begin{center}\bfseries #1\end{center}% \begin{quotation}}}% {\end{quotation}} 这段代码定义了一个名为 `myabstract` 的新环境。这个环境 阅读全文

posted @ 2024-10-30 18:54 风中狂笑 阅读(161) 评论(0) 推荐(0) 编辑

latex workshop在vscode中的settings.json设置

摘要: //latex "latex-workshop.latex.autoBuild.run": "never", "latex-workshop.showContextMenu": true, "latex-workshop.intellisense.package.enabled": true, "l 阅读全文

posted @ 2024-10-30 10:27 风中狂笑 阅读(784) 评论(0) 推荐(0) 编辑

2024年10月16日

latex的安装与使用-texlive2024 and texstudio installation

摘要: texstudio 使用说明 Getting started - TeXstudio 4.8.4 documentation texstudio下载 TeXstudio - A LaTeX editor (sourceforge.net) texlive下载 Index of /ctan/syste 阅读全文

posted @ 2024-10-16 09:03 风中狂笑 阅读(213) 评论(0) 推荐(0) 编辑

最简单的一个latex例子-打印所有中英文参考文献

摘要: \documentclass[11pt]{ctexart} % 使用 ctexart 以支持中文 \usepackage[margin=2cm,a4paper]{geometry} \usepackage{fontspec} % 加载 fontspec 包 \setmainfont{Times Ne 阅读全文

posted @ 2024-10-16 09:00 风中狂笑 阅读(143) 评论(0) 推荐(0) 编辑

2024年10月14日

使用pybtex库对bib格式的参考文献自动生成期刊格式

摘要: 参考了这篇帖子:用Python代码自动生成文献的IEEE引用格式_如何修改bibtex参考文献的格式为ieee的样式-CSDN博客 不过直接用pybtex库就行,直接对bib文件进行提取就行了。目前是针对IEEE期刊格式,当然也可以根据其他期刊进行修改。 #!/usr/bin/python3 # - 阅读全文

posted @ 2024-10-14 10:07 风中狂笑 阅读(68) 评论(0) 推荐(0) 编辑

2024年4月5日

Running the installer as administrator is disabled by default, see https://github.com/ScoopInstaller/Install#for-admin for details.

摘要: 在windows安装scoops提示 网上找到解决办法 安装失败 - 安装 scoop 失败:“默认情况下,以管理员身份运行安装程序处于禁用状态,请参阅 https://github.com/ScoopInstaller/Install#for-admin” - 堆栈溢出 failed instal 阅读全文

posted @ 2024-04-05 09:44 风中狂笑 阅读(903) 评论(0) 推荐(0) 编辑

2024年3月8日

latex的基本用法

摘要: \documentclass[fontset=windows]{article} \usepackage[margin=1in]{geometry}%设置边距,符合Word设定 \usepackage{ctex} \usepackage{setspace} \usepackage{lipsum} \ 阅读全文

posted @ 2024-03-08 11:04 风中狂笑 阅读(75) 评论(0) 推荐(0) 编辑

matlab如何调用python

摘要: 从 MATLAB 访问 Python 模块 - 快速入门 - MATLAB & Simulink - MathWorks 中国 我的是matlab r2023b python3.11 已经安装了python的engine 然后在matlab中输入命令>pyenv 阅读全文

posted @ 2024-03-08 09:12 风中狂笑 阅读(25) 评论(0) 推荐(0) 编辑

2024年3月7日

vscode 的sync的问题RequestFailed (UserDataSyncError) syncResource:unknown operationId:unknown: Connection refused for the request

摘要: 024-03-07 08:58:24.361 [error] RequestFailed (UserDataSyncError) syncResource:unknown operationId:unknown: Connection refused for the request 'https:/ 阅读全文

posted @ 2024-03-07 09:32 风中狂笑 阅读(243) 评论(0) 推荐(0) 编辑

2024年3月6日

gitee使用

摘要: 可以在本地建一个目录 在gitee建立一个仓库,建立完仓库之后gitee很温馨地给了如何使用git绑定仓库的命令,别忘了看 然后本地使用git 命令 1、>git init 2、>git remote add origin git@gitee.com:your_name/your_repo.git 阅读全文

posted @ 2024-03-06 10:17 风中狂笑 阅读(11) 评论(0) 推荐(0) 编辑

2024年3月5日

comsol安装

摘要: 1. Mount COMSOL DVD into virtual DVD drive and start installation with setup.exe 可以解压缩或者mount iso文件 2. Select "_SolidSQUAD_\LMCOMSOL_Multiphysics_SSQ. 阅读全文

posted @ 2024-03-05 09:33 风中狂笑 阅读(123) 评论(0) 推荐(0) 编辑

2024年3月4日

vscode+matlab+python

摘要: 首先查询下matlab支持的python版本,比如我安装的是matlab r2023b,所以最大支持python3.11 Versions of Python Compatible with MATLAB Products by Release - MATLAB & Simulink (mathwo 阅读全文

posted @ 2024-03-04 07:24 风中狂笑 阅读(336) 评论(0) 推荐(0) 编辑

2024年2月20日

windows安装jupyter

摘要: 从零开始!Jupyter Notebook的安装教程(附带pip和Python的安装教程)_jupyter notebook pip install-CSDN博客 以及环境变量的设置 如果提示jupyter command not found则需要搜索jupyter.exe的文件夹所在路径,将其添加 阅读全文

posted @ 2024-02-20 09:14 风中狂笑 阅读(10) 评论(0) 推荐(0) 编辑

2024年1月25日

overleaf 的vim模式开启

摘要: cn.overleaf.com 在左上角的“菜单”选项卡>组合键>vim enjoy 阅读全文

posted @ 2024-01-25 08:46 风中狂笑 阅读(129) 评论(1) 推荐(0) 编辑

2024年1月24日

win11 alt+tab显示图标或缩略图

摘要: ### 在win11版本中调出老版本(Win7)ALT+TAB的方法 1、win+r调出运行窗口; 2、输入regedit,回车进入注册表编辑器; 3、转到HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explore 阅读全文

posted @ 2024-01-24 16:16 风中狂笑 阅读(663) 评论(0) 推荐(0) 编辑

2024年1月17日

numpy读dat文件

摘要: # def read_nodes_from_dat(file_path): # nodes={} # with open(file_path, 'r') as file: # for line in file: # # 假设每行的数据都是以空格分隔的 # data = line.split() # 阅读全文

posted @ 2024-01-17 14:19 风中狂笑 阅读(84) 评论(0) 推荐(0) 编辑

2023年12月27日

windows+nasm+vscode

摘要: Step 2: Install a Compiler and Assembler — BilimEdtech Labs documentation 阅读全文

posted @ 2023-12-27 16:50 风中狂笑 阅读(68) 评论(0) 推荐(0) 编辑

2023年12月22日

mfc-消息映射-菜单和工具栏Menu and Toolbar

摘要: 注意:menu和toolbar的某一项可以使用相同的ID,这样绑定的是同一个函数 首先是建立一个mfc,选择 注意使用next,而不是直接finish,在advanced features中advanced frame panes应该都取消勾选,现在这里是默认没有勾选,如果没有的话,就要手动取消一下 阅读全文

posted @ 2023-12-22 16:20 风中狂笑 阅读(104) 评论(0) 推荐(0) 编辑

2023年12月21日

mfc中tabsheet

摘要: // TabSheet.cpp : implementation file // #include "stdafx.h" #include "pch.h" //#include "Property5.h" #include "TabSheet.h" #ifdef _DEBUG #define new 阅读全文

posted @ 2023-12-21 11:36 风中狂笑 阅读(24) 评论(0) 推荐(0) 编辑

2023年12月14日

vs2022 vim配置

摘要: " Add your own customizations in ~/.vim_runtime/my_configs.vim" set runtimepath+=~/.vim_runtime" source ~/.vim_runtime/vimrcs/basic.vim" source ~/.vim 阅读全文

posted @ 2023-12-14 10:03 风中狂笑 阅读(619) 评论(0) 推荐(0) 编辑

[good]visual studio 2022 创建空的win32程序

摘要: 05_MFC窗口的创建_哔哩哔哩_bilibili 参考这个 VS创建空的Win32程序 - fenggwsx - 博客园 (cnblogs.com) 修改subsystem项 编译运行 测试代码 #include <windows.h> int winapi winmain(hinstance h 阅读全文

posted @ 2023-12-14 09:50 风中狂笑 阅读(338) 评论(0) 推荐(0) 编辑

2023年12月11日

[good]vscode中qt环境配置包括qt和cmake安装

摘要: 具体参考这篇帖子VsCode+QT5.14.2安装部署详细教程_vscode配置qt-CSDN博客 以下是自己按照这贴的安装步骤及细节,qt和cmake的具体安装过程见文末,后面有问题再修改,但基本上问题不大 安装完qt之后需要配置三个环境变量,和关于cmake的环境变量,注意是系统变量中的Path 阅读全文

posted @ 2023-12-11 15:07 风中狂笑 阅读(1551) 评论(0) 推荐(1) 编辑

2023年12月6日

[good]vscode编译多个c源文件

摘要: windows上实现vscode编译多个c源文件 - 知乎 (zhihu.com) 1、建立bin/doc/inc/app/src等目录 2、bin目录用来存放生成的exe文件,doc用来存放帮助文档,inc用来存放*.h文件,app用来存放主程序main.c,src用来存放*.c文件 3、修改la 阅读全文

posted @ 2023-12-06 18:04 风中狂笑 阅读(85) 评论(0) 推荐(0) 编辑

libmodbus使用-windows

摘要: 如何在mingw环境下使用libmodbus库_哔哩哔哩_bilibili 1、打开mysw 运行 >pacman -S autoconf-wrapper 2、进入libmodubus目录 运行 >./configure 阅读全文

posted @ 2023-12-06 13:57 风中狂笑 阅读(232) 评论(0) 推荐(0) 编辑

2023年12月5日

[good]串口读取

摘要: #include <stdio.h> #include <stdlib.h> #include <math.h> #include <limits.h> #include <string.h> #include <windows.h> #include "serialport.h" int main 阅读全文

posted @ 2023-12-05 10:16 风中狂笑 阅读(16) 评论(0) 推荐(0) 编辑

2023年12月1日

[good]c语言中各种类型

摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <assert.h> #include <math.h> #include <time.h> #include <limit 阅读全文

posted @ 2023-12-01 09:06 风中狂笑 阅读(8) 评论(0) 推荐(0) 编辑

2023年11月30日

虚拟串口工具vspd

摘要: 『实用教程』VSPD虚拟串口工具——从此告别硬件串口调试_虚拟串口vspd-CSDN博客 笔记本上没串口,利用虚拟串口软件VSPD和串口调试助手,目的是通过C++程序完成串口通信,但是只能实现Write操作,不能实现Read操作,附上源代码求大佬指点-CSDN社区 这里注意,我使用17和18无法打开 阅读全文

posted @ 2023-11-30 15:33 风中狂笑 阅读(314) 评论(0) 推荐(0) 编辑

[good]enum

摘要: typedef enum{ Reg_Set_Speed = 100, // 100 Reg_Set_Enable_VSP, // 101 Reg_Set_Dir, // 102 Reg_Force_Stop} Modbus_Holding_Registors; 这是一个C语言中的`enum`(枚举) 阅读全文

posted @ 2023-11-30 14:40 风中狂笑 阅读(11) 评论(0) 推荐(0) 编辑

[good]数据类型

摘要: `uint`是一种无符号整数类型,它的全称是"unsigned int"。这种类型可以表示从0到某个正数的值。具体能表示的最大值取决于实现,但在大多数现代系统上,`uint`通常是32位的,可以表示的最大值是4294967295。 与此相比,`uint8_t`和`uint32_t`是固定宽度的整数类 阅读全文

posted @ 2023-11-30 14:36 风中狂笑 阅读(26) 评论(0) 推荐(0) 编辑

[good]union

摘要: typedef union { uint16_t word; struct { uint8_t low; uint8_t high; } byte; struct { uint8_t bit0 : 1; uint8_t bit1 : 1; uint8_t bit2 : 1; uint8_t bit3 阅读全文

posted @ 2023-11-30 14:33 风中狂笑 阅读(8) 评论(0) 推荐(0) 编辑

staic使用

摘要: 在C语言中,使用`static`关键字修饰的函数或变量只能在定义它们的源文件中使用。这种限制被称为“文件作用域”或“静态作用域”。 当你在一个源文件中定义一个`static`函数,这个函数只能在这个源文件中被调用,不能在其他源文件中被调用。这可以帮助你隐藏实现细节,防止其他源文件误用你的函数。 同样 阅读全文

posted @ 2023-11-30 11:21 风中狂笑 阅读(20) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示