1.《结构体定义的几种常见方式》
https://blog.csdn.net/ly666888555/article/details/52206973
2.《结构体初始化直接赋值》
struct A
{
int nValue;
bool bFalse;
}A;
A = {int(1),bool(0)};
https://www.cnblogs.com/mch0dm1n/p/5727667.html
https://blog.csdn.net/gao1440156051/article/details/48035911
1.《printf 和 scanf》
http://c.biancheng.net/view/159.html
https://blog.csdn.net/hk_kang/article/details/78747726
1.《c语言函数指针的理解与使用》
https://www.cnblogs.com/haore147/p/3647262.html
2.《C指针》
https://www.cnblogs.com/lulipro/p/7460206.html
https://blog.csdn.net/bjbz_cxy/article/details/91364391
https://www.cnblogs.com/HappyXie/archive/2011/01/07/1929369.html
https://wiki.jikexueyuan.com/project/c-advance/pointer.html
1.《C++ 日期 & 时间》
https://www.runoob.com/cplusplus/cpp-date-time.html
2.《C时间库》
https://blog.csdn.net/lemonrabbit1987/article/details/48192521
1.《C语言 栈 》
https://blog.csdn.net/qq_35924276/article/details/81384826
2.《数据结构栈全部代码》
https://www.cnblogs.com/HongYi-Liang/p/7766684.html
https://www.cnblogs.com/whlook/p/6531760.html
3.有效括号检测
https://leetcode-cn.com/problems/valid-parentheses/solution/you-xiao-de-gua-hao-by-leetcode/
4.《字符查找》
http://c.biancheng.net/view/340.html
5.C++ 数组操作
https://www.cnblogs.com/HongYi-Liang/p/7287324.html
1.《C 标准库 - <string.h>》
https://www.runoob.com/cprogramming/c-standard-library-string-h.html
2.《C++标准库》
https://www.geeksforgeeks.org/the-c-standard-template-library-stl/
《数组长度》
https://blog.csdn.net/shankaipingo/article/details/1324042
//退化为指针之后,没有办法得到长度
int _nLength = sizeof(Array)/sizeof(Array[0]);
《整数溢出,如何判断整数溢出》
https://blog.csdn.net/bichenggui/article/details/4734040
https://blog.csdn.net/gogokongyin/article/details/51758718
http://www.cplusplus.com/doc/tutorial/files/
《C语言读取txt文件实例FILE》
https://blog.csdn.net/naibozhuan3744/article/details/80610476
1.https://www.cnblogs.com/wuyudong/p/c-void-point.html
1.函数使用栈大小过多,转移到堆中
2.《C语言内存堆栈区别》
https://www.cnblogs.com/myblesh/archive/2012/03/14/2396409.html
3.二维数组
https://www.cnblogs.com/alantu2018/p/8465894.html
https://blog.csdn.net/ytzlln/article/details/78220226
4.二维数组做形参 堆栈上的区别
https://www.cnblogs.com/dplearning/p/4631541.html
5.二维数组+回溯算法
https://codeleading.com/article/2110290226/
6.《malloc分配&多维数组》
https://blog.csdn.net/zhanshen112/article/details/80758850
1.《基本操作》
https://blog.csdn.net/zhanggonglalala/article/details/79738213
1.二进制转换操作
https://cloud.tencent.com/developer/article/1347635
https://www.nowcoder.com/tutorial/10003/e546205d358e46668418c0a38840051f
https://blog.csdn.net/pushup8/article/details/85071735
分配方式 | 阶段 | 存储位置 | |
---|---|---|---|
静态分配 | 程序编译阶段进行内存分配 | 全局变量|静态变量(static) | 静态区域 |
动态分配 | 程序运行阶段分配 | 局部变量 | alloca | 栈 |
动态分配 | 程序运行阶段分配 | malloc | realloc | calloca | 堆 |
动态分配——堆
头文件:#include <stdlib.h>
方式 | 说明 | |
---|---|---|
malloc | (void*)malloc(size_t sizet) | 分配内存位于堆中,需要调用memset进行初始化。 |
realloc | void* realloc(void* ptr, unsigned newsize); | 对malloc申请的内存进行大小的调整. |
calloca | void* calloc(size_t numElements, size_t sizeOfElement); | 将初始化这部分的内存,设置为0. |
malloc、calloc、realloc的区别 - DoubleLi - 博客园 (cnblogs.com)
——记录Matlab相关;
https://blog.csdn.net/Katherine_S/article/details/53677608
符号变量
syms sys
符号函数
http://gr.xjtu.edu.cn/c/document_library/get_file?folderId=1791932&name=DLFE-85954.pdf
《S函数介绍》
https://blog.csdn.net/acelit/article/details/59082349
《利用MATLAB批量修改文件名》
包括对eval函数的解释
https://blog.csdn.net/rs_huangzs/article/details/56674181
https://blog.csdn.net/u010099080/article/details/49915743
persistent & global
https://blog.csdn.net/u010177286/article/details/45674887
--winopen()
《字符串处理函数》
http://www.cnblogs.com/emanlee/archive/2012/09/13/2683912.html
《字符串|变量名》
https://blog.csdn.net/humanking7/article/details/80628757
str_var = 'varNumber';
eval( [str_var, '= 10']);
《字符串变量名》
https://blog.csdn.net/qq_21090131/article/details/82953326
《*.fig提取数据》
https://blog.csdn.net/shineprince/article/details/79688351#
https://www.zhihu.com/question/30908838
《Color》
https://blog.csdn.net/wh1312142954/article/details/80796764
https://blog.csdn.net/cfyzcc/article/details/50535632 Matlab中用文件夹中子文件夹内.m文件的方法
https://blog.csdn.net/qq_31811537/article/details/79036152 matlab主程序和子函数不在一个文件夹下,怎么调用
-.1*.asv
有时在存放m文件的文件夹中会出现*.asv,asv 就是auto save的意思,*.asv文件的内容和相应的*.m文件内容一样,用记事本和matlab都能打开它。它可以作为*.m文件的“备份”。
可以在preference中通过设置取消自动备份功能:file->preferences->editor/debugger-->auto save,uncheck "autosave on" checkbox ,把勾选去掉就行了。
-.2sign函数
https://blog.csdn.net/proton_boke/article/details/72865498
《Matlab GUI设计——文件读取和保存uigetfile,uiputfile》
https://blog.csdn.net/hit1524468/article/details/48935511
《Matlab读取txt文件中的数据(使用textread函数)》
https://blog.csdn.net/jisuanjiguoba/article/details/79997805
《Matlab中读取txt文件的几种方法》
https://blog.csdn.net/zhuxiaoyang2000/article/details/7330783
《Matlab GUI界面设计》
https://blog.csdn.net/u011939755/article/details/54705664
《判断文件夹、文件是否存在、创建文件 c++ matlab》
https://blog.csdn.net/u012005313/article/details/50688257
《Matlab GUI设计》
https://www.cnblogs.com/ruo-li-suo-yi/category/1152708.html
《Callback 和 CreatFcn的区别》
https://blog.csdn.net/yundanfengqing_nuc/article/details/77160622
《GUI修改背景图》
https://blog.csdn.net/leo0308/article/details/82694995
https://blog.csdn.net/qq_20823641/article/details/51910690
《数据传递》
https://blog.csdn.net/xgf415/article/details/50742740
https://blog.csdn.net/eric_e/article/details/86708307
《异常捕获》
https://blog.csdn.net/bible_reader/article/details/72960200
《Matlab中函数句柄@的作用及介绍》
https://blog.csdn.net/kevinhg/article/details/8861774
《MATLAB读取表中数据》
https://ww2.mathworks.cn/help/matlab/import_export/read-spreadsheet-data-into-table.html
https://www.ilovematlab.cn/article-52-1.html
% 函数
importdata('file')
readdata('file')
%访问数据
'.' , '{}','()'
《normpdf_normcdf_norminv_normrnd_normfit》
https://blog.csdn.net/shanchuan2012/article/details/52901758
《matlab产生方波脉冲和周期性方波信号》
https://blog.csdn.net/wordwarwordwar/article/details/56676130
《Persistent》
https://ww2.mathworks.cn/help/matlab/ref/persistent.html?s_tid=doc_ta
《动画实现》
http://www.matlabsky.com/thread-570-1-1.html
http://www.matlabsky.com/thread-240-1-1.html
1.《cmd 命令行方式执行 matlab 脚本》
https://blog.csdn.net/lanchunhui/article/details/51273109
2.《远程运行MATLAB》
3.《VS coder 配置MATLAB》
https://www.waitig.com/vs-code%E9%85%8D%E7%BD%AEmatlab%E7%8E%AF%E5%A2%83.html
4.《C语言调用MATLAB程序之简单样例》
https://blog.csdn.net/u011008379/article/details/52770863
5.《C++调用Matlab生成的DLL动态链接库进行混合编程》
https://blog.csdn.net/qq_36165459/article/details/81283932
6.《C语言环境中调用Matlab程序指南》
https://wenku.baidu.com/view/2aa0632a0066f5335a812178.html?re=view
https://blog.csdn.net/kunyxu/article/details/53563154
fopen方式
save方式
1.《解决Matlab script脚本文件显示中文乱码的问题》
https://blog.csdn.net/He_MM/article/details/51943526
2.《解决matlab中文乱码》
https://blog.csdn.net/soliddream66/article/details/61414565
3.《MATLAB将默认编码方式由GBK转为UTF-8》
https://blog.csdn.net/qq_36829091/article/details/80098828
4.《GBK | UTF-8 | GB2312区别》
https://blog.csdn.net/ZYY88886666/article/details/75285780
1.https://www.ilovematlab.cn/thread-506910-1-1.html
1.《figure属性操作》
https://blog.csdn.net/kevinxdg/article/details/81106750
2.《print保存图片》
https://www.cnblogs.com/stxs/p/8808971.html
https://blog.csdn.net/myvanguard/article/details/84061563
https://blog.csdn.net/u012210613/article/details/52346842
1.https://www.cnblogs.com/jeromeblog/p/3396494.html
2.MATLAB的Gui对象关系
https://blog.csdn.net/yangguangqizhi/article/details/53815382
3.set函数用法
https://blog.csdn.net/weixin_41554884/article/details/79913272
1.matlab将M文件直接编译为可独立使用的EXE可执行文件
https://blog.csdn.net/jkhere/article/details/8906124
diff(x)
https://ww2.mathworks.cn/help/matlab/ref/diff.html?s_tid=srchtitle
https://ww2.mathworks.cn/help/matlab/ref/wordcloud.html?s_tid=srchtitle
https://ww2.mathworks.cn/help/matlab/ref/try.html?searchHighlight=try&s_tid=doc_srchtitle
1.JVM(Java Virtural Machine)
version -java
2.Java 控制键鼠
https://blog.csdn.net/u011389706/article/details/57399942
https://blog.csdn.net/ZLK961543260/article/details/70216089
2.属性
https://ww2.mathworks.cn/help/matlab/creating_plots/access-and-modify-property-values.html
3.动态绘图
https://blog.csdn.net/u010480899/article/details/78234884
https://blog.csdn.net/nbu2004/article/details/50993093
https://blog.csdn.net/yam_killer/article/details/7964872
2.Cell全部函数
https://blog.csdn.net/u010999396/article/details/54386465
https://blog.csdn.net/without_scruple/article/details/77352641
etime()
https://blog.csdn.net/gotomic/article/details/7898307
% 两种方式均能使用reg
what
ls
% 搜索doc
docsearch <string>
《int》
https://blog.csdn.net/qq_34374664/article/details/79186465
《trapz》
<https://ww2.mathworks.cn/help/matlab/ref/trapz.html?requestedDomain=cn
《b数值积分方法》
https://zhuanlan.zhihu.com/p/82459587
1.《2018Rb》
https://ww2.mathworks.cn/help/matlab/code-app-behavior-in-app-designer.html
2.《2019》
3.timer
https://ww2.mathworks.cn/help/matlab/ref/timer-class.html?searchHighlight=timer&s_tid=doc_srchtitle
4.对话框处理
《GUI之常用对话框(三)--- dialog \ errordlg \ warndlg \ helpdlg \ msgbox \questdlg》
https://blog.csdn.net/zjq2010014137/article/details/8535431
《matlab GUI之常用对话框(四)---输入对话框 inputdlg、目录对话框 uigetdir、列表对话框 listdlg》
https://blog.csdn.net/zjq2010014137/article/details/8535913
《matlab inputdlg》
https://ww2.mathworks.cn/help/matlab/ref/inputdlg.html?searchHighlight=inputdlg&s_tid=doc_srchtitle
《matlab questdlg》
https://ww2.mathworks.cn/help/matlab/ref/questdlg.html
《自动识别串口设备并获取其串口号(serial && friendly name)》
https://blog.csdn.net/u011389706/article/details/78929480
《RunTime 文档》
https://ww2.mathworks.cn/help/compiler/deployment-process.html
https://blog.csdn.net/am290333566/article/details/84581313
https://blog.csdn.net/lqhbupt/article/details/18951311
https://blog.csdn.net/whu_shao/article/details/53868956
一、代数环的问题
在数字计算中,输入信号决定输出信号,同时输出信号也决定输入信号,由于数字计算的时序性,导致没有输出信号无法计算输入信号,没有输入信号又反过来无法计算输出信号,形成一个死锁(deadlock)或死循环,这就是代数环。如下图1所示,就是一个简单的代数环的例子。
二、代数环产生的条件
简单地说,代数环其实就是一个输入信号包含输出信号,同时输出信号也包含输入信号的特殊反馈回路。在simulink中,这是由于直通模块(无延时的模块)的原因造成的,simulink中大部分的模块都是直通模块,因此很容易形成代数环。在整个回路中,只包含直通模块就会形成代数环,反馈回路有延时模块就会消除代数环。
三、代数环的解决措施
1、用工具栏中的“simulink”中的“diagnostics”对代数环进行消除
将simulink中diagnostics的对代数环的处理信息进行选择,将对代数环的处理信息选择为“none”,即忽略代数环的信息。
2、在反馈回路中添加延时模块进行消除
由于代数环的产生是由于整个模型中所有模块均为直通模块,因此只需在反馈回路中添加延时模块即可消除代数环。延时模块有delay模块、memory模块,如图2所示,用memory来消除代数环。
3、用变换法消除代数环
对于简单的代数环问题,可以通过人为地采用数字变换法来求解消除代数环,但这只针对简单的代数环有限,对于复杂的代数环基本不可能实现。
4、在反馈回路中添加入高频传递环节
在反馈回路中添加入高频传递函数,打断反馈回路中的直通模块,消除输入信号与输出信号的关联关系。如图3所示。
reference:
https://www.ilovematlab.cn/thread-260304-1-1.html
https://zhuanlan.zhihu.com/p/23598477
https://www.mathworks.com/matlabcentral/cody/
http://undocumentedmatlab.com/blog/changing-matlab-command-window-colors/
数据保存类型,相比较于mat文件,可以存储数据的类型,以及相关属性;
https://ww2.mathworks.cn/help/ident/gs/identify-nonlinear-black-box-models-using-the-gui.html
《蕨形树叶》https://zhuanlan.zhihu.com/p/24649825
https://ww2.mathworks.cn/help/matlab/ref/geoscatter.html?s_tid=doc_ta
2.《Geobasemap》
https://ww2.mathworks.cn/help/matlab/ref/geobasemap.html?requestedDomain=cn
3.《worldmap》
https://www.cnblogs.com/stxs/p/8666372.html
**gca:**坐标轴区域图;
**gcf:**当前图句柄;
shg: 显示最新图窗;
**clf:**清除当前图窗;
1.https://blog.csdn.net/zkzfengyi/article/details/80473110
2.基于S函数的RBF神经网络PID控制器Simulink仿真
4.《matlab(Simulink)中S-function函数编写规则》
https://blog.csdn.net/mengxiangjia_linxi/article/details/75516142
5.《SIMULINK6 S-Function 编程(M,C/C++语言)与模块封装技术(1)Simulink S函数概观》
https://blog.csdn.net/ComplexAdaptiveSys/article/details/919938#commentBox
6.《MATLAB2015a中Simulink使用S函数的方法全过程》
https://blog.csdn.net/peixianlyc/article/details/84034583
7.《离散系统-simulink》
https://blog.csdn.net/weixin_43159148/article/details/88574201
http://bbs.elecfans.com/jishu_369721_1_1.html
8.《S函数指南》
https://blog.csdn.net/acelit/article/details/59082349
基于MATLAB/Simulink系统仿真权威指南 pdf'
9.《S funtion基础》
https://ww2.mathworks.cn/help/simulink/s-function-basics-matlab.html
1.《Doc-Histogram》
https://ww2.mathworks.cn/help/matlab/ref/matlab.graphics.chart.primitive.histogram.html
file = 'C:\\User\\Desktop\\file.txt';
opts = detectImportOptions;
opts.VariableNames = {'what','the','fun'};
origin_table = readtable(file,opts);
% 局部使用struct2table table2struct
full_struct = table2struct(origin_table);
% 使用截断方法
table_size = size(origin_table);
cut_index = 1;
for i = 2:1:table_size(1)
% table以列为导向(column oriented),strut 以行为导向(row oriented)
if isempty(origin_table.what(i)) || imempty(origin_table.fun(i))
full_struct(i).what = origin_table.what(cut_index);
else
cut_index = i;
end
end
1.《使用MATLAB—SIMULINK分析典型信号频谱特性》
https://www.cnblogs.com/cql/archive/2012/12/01/2797821.html
2.《三角波》
https://www.jianshu.com/p/ea3f9a325801
《TD》
https://zhuanlan.zhihu.com/p/76326861
1.《Official Doc》
https://ww2.mathworks.cn/help/matlab/matlab_prog/regular-expressions.html
1.https://blog.csdn.net/nupt123456789/article/details/7943910
2.https://stackoverflow.com/questions/7614292/run-a-matlab-script-from-windows-dos-prompt
1.《Official Doc》
https://ww2.mathworks.cn/help/matlab/ref/copyfile.html
1.《Official Doc》
https://ww2.mathworks.cn/help/matlab/sample-classes.html
2.《matlab——之class类(详细总结)》
https://blog.csdn.net/qinze5857/article/details/80545885
3.《matlab-如何定义类》
https://www.cnblogs.com/wangduo/p/5908311.html
4.《Tutorial: Using Matlab compiled classes from within Python》
http://www.cloud-rocket.com/2016/08/using-matlab-compiled-class-from-python/
1.《Offical Doc》
https://ww2.mathworks.cn/products/matlab/matlab-and-python.html
https://ww2.mathworks.cn/help/matlab/matlab-engine-for-python.html
2.《开发类 - 典型工作流 - MATLAB & Simulink - MathWorks 中国.html》
https://ww2.mathworks.cn/help/matlab/matlab_oop/developing-classes-typical-workflow.html
1.https://ww2.mathworks.cn/help/matlab/apiref/engopen.html
2.《demo - matlab》
//MATLAB//R2018b//extern//examples//eng_mat//engdemo.c
//MATLAB//R2018b//extern//examples//eng_mat//engdemo.cpp
3.《visual 调用MATLAB静态库》
4.《official doc》
https://ww2.mathworks.cn/help/matlab/matlab_external/compiling-engine-applications-in-an-ide.html
1.《指令操作路径》
https://blog.csdn.net/chaolei3/article/details/83003426
addpath([path|genpath(path)]);% 添加文件夹|及其子路径
rmpath([path|genpath(path)]);% 删除文件夹|及其子路径
https://blog.csdn.net/wywywy01/article/details/77823003
norm(a,size1,...sizen,'classdef')
%{
To WorkSpace模块输入数据类型:timeseries;
e.g:yout
>> yout
timeseries常见属性:
Name:''
Time:[]
TimeInfo:
Data:[]
DataInfo:
使用方式类似于struct和table
%}
yout;% timeseries
time = yout.time;
data = yout.data;
1.《Official Doc》
https://ww2.mathworks.cn/help/matlab/ref/fimplicit.html
https://blog.csdn.net/zzx2016zzx/article/details/80635840
https://blog.csdn.net/schwein_van/article/details/78513908
https://ww2.mathworks.cn/matlabcentral/fileexchange/5961-magnify
https://blogs.mathworks.com/cleve/2017/08/14/levenshtein-edit-distance-between-strings/
https://www.cnblogs.com/BlueMountain-HaggenDazs/p/4306865.html
Simulink 实现倒立摆可视化;
1.倒立摆数学模型
https://blog.csdn.net/yin_bu_feng/article/details/89100188
2.Roy Featherstone's Website
a = 100*rand(1,100);
b = a;
b(a>50)=0;
[1] https://blog.csdn.net/u014636245/article/details/102575785
% 符号函数实用
t = sym('t'); % syms t;
y = t^2 + sqrt(t);
diff_y = diff(y);
https://www.yiibai.com/matlab/matlab_differential.html
https://ww2.mathworks.cn/help/matlab/ref/patch.html
1.Signal Generator https://ww2.mathworks.cn/help/signal/waveform-generation.html
2.tripuls
https://blog.csdn.net/Nan_qi_de_ming_zi/article/details/88076592
3.逻辑判断(矩阵)生成典型信号
https://www.mathworks.com/help/signal/gs/impulse-step-and-ramp-functions.html
https://ww2.mathworks.cn/help/matlab/ref/dec2hex.html
实体(bodies)、铰(joints)、外力(forces)
Rigid Transform:定义相对位置
Revolute Joint:定义ZX平面运动
World Frame:绝对坐标系
使用SimMechanics Link 导入CAD模型和数据
smimport %导入xml文件
content preview
1.m_map工具包—2020
https://cloud.tencent.com/developer/article/1606160
2.matlab Mobil
https://zhuanlan.zhihu.com/p/27346710
1.cellfun
https://ww2.mathworks.cn/help/matlab/ref/cellfun.html
2.arrayfun & cellfun & bsxfun
http://chuan92.com/2016/01/17/bsxfun-cellfun-and-arrayfun-in-matlab
3.eval函数
https://www.mathworks.com/help/matlab/ref/eval.html
1.调用GoogleMAP API
https://www.mathworks.com/matlabcentral/fileexchange/27627-zoharby-plot_google_map
2.Matlab Mobile高逼格实时记录GPS运动轨迹(各项参数统计计算)
https://zhuanlan.zhihu.com/p/126242819
3.获取传感器数据
https://zhuanlan.zhihu.com/p/128968603
4.basemap
https://www.mathworks.com/help/map/ref/addcustombasemap.html
https://www.mathworks.com/help/map/ref/addcustombasemap.html
1.BFS WFS https://www.thinbug.com/q/33047929
2.迷宫解决matlab中的广度优先搜索算法 https://www.thinbug.com/q/33047929
3.https://blog.csdn.net/qq_35644234/article/details/60870719
- continue
将控制权交换给for或者whlie的下一迭代;跳过当前循环中剩下的语句,进入到下一次循环迭代中;
- break
终止执行for或while循环;将控制权交还给循环end后的程序;
- return
终止函数;将控制权交还给主调函数;
1.python 时间库
https://www.cnblogs.com/vamei/archive/2012/09/03/2669426.html
1.检查路径是否存在
https://www.cnblogs.com/jhao/p/7243043.html
2.Python读写文本三种方式 https://zhuanlan.zhihu.com/p/21347291
3.Python读写txt文本文件 https://www.cnblogs.com/hackpig/p/8215786.html
4.打开文件https://blog.csdn.net/humanking7/article/details/80546728
5.python运行其他程序方式https://blog.csdn.net/Jerry_1126/article/details/46584179
6.文件拷贝
https://zhuanlan.zhihu.com/p/35725217
1.《anaconda离线安装第三方包》
https://blog.csdn.net/qq_39657585/article/details/82667450
2.《本地安装》
1.串口操作
https://blog.csdn.net/xhao014/article/details/7640568
https://blog.csdn.net/happyliuliming/article/details/84845560
2.《pyserial串口操作》
https://www.cnblogs.com/dongxiaodong/p/9992083.html
3.《Official Doc》
https://pythonhosted.org/pyserial/index.html
5.GUI-PY
1.pycharm + pyqt Gui
https://blog.csdn.net/bailang_zhizun/article/details/79310419
https://blog.csdn.net/m0_37606112/article/details/78556683
2.《pyqt中文教程》
https://maicss.gitbooks.io/pyqt5/content/hello_world.html
3.《PyQt5 reference》
https://www.riverbankcomputing.com/static/Docs/PyQt5/
https://legacy.python.org/dev/peps/pep-0263/
1.《调用*.sh》
https://www.cnblogs.com/daduryi/p/6856249.html
《重命名os.rename》
https://blog.csdn.net/alicelmx/article/details/79092964
2.《python执行系统命令四种方法比较》
https://blog.csdn.net/luckytanggu/article/details/51793218
1.https://blog.csdn.net/xiamoyanyulrq/article/details/81842604
2./cry
https://blog.csdn.net/qq_36369267/article/details/82831767
https://www.cnblogs.com/jessonluo/p/4717140.html
1.对整个循环的控制作用;
2.对break、return、continue后面语句的影响;
[2] https://blog.csdn.net/Moniicoo/article/details/79990612
1.Official Doc - Path
https://docs.python.org/2/library/os.path.html#os.path.realpath
2.《绝对路径|相对路径》
https://www.cnblogs.com/wangyanyan/p/7440685.html
3.文件路径操作
https://www.cnblogs.com/yanglang/p/7610838.html
4.获取上一级文件路径
https://blog.csdn.net/leorx01/article/details/71141643
5.path split
https://blog.csdn.net/T1243_3/article/details/80170006
https://zhuanlan.zhihu.com/p/27493719
1.PyQt5图形和特效之设置窗口背景(六)
https://blog.csdn.net/jia666666/article/details/81874045
2.禁止窗口大小调整
https://blog.csdn.net/sollor525/article/details/39316065
3.PyQt:无边框自定义标题栏及最大化最小化窗体大小调整
https://www.cnblogs.com/jyroy/p/9461317.html
1.基本时钟功能
https://blog.csdn.net/Kprogram/article/details/83623079
2.桌面时钟(透明)
https://cloud.tencent.com/developer/article/1124715
3.时钟带表盘
https://blog.csdn.net/liang19890820/article/details/52064169
4.获取系统时间
https://blog.csdn.net/laozhuxinlu/article/details/70217090
https://blog.csdn.net/zong596568821xp/article/details/82996945
1.PyQt实现无边框
https://www.cnblogs.com/codeAB/p/5019439.html
https://www.cnblogs.com/jyroy/p/9461317.html
1.嵌入状态栏进度条
https://blog.csdn.net/higher80/article/details/82703532
2.波浪形进度条
https://blog.csdn.net/wang13342322203/article/details/82116286
3.动态进度条
https://blog.csdn.net/weixin_34378969/article/details/93306790
4.loading界面
https://blog.csdn.net/weixin_40273809/article/details/81514646
https://www.cnblogs.com/tongchengbin/p/pyqt5.html
18.PyQt&Anaconda&Pycharm环境配置
# designer.exe 配置
Program: D:\ProgramData\Anaconda3\Library\bin\designer.exe
Parameters:
Working directionary:$FileDir$
#PyUIC配置(.ui -> .py)
# Program 中写入Python的地址
Program:python.path
Parameters:-m PyQt5.uic.pyuic $FileName$ -o $FileNameWithoutExtension$.py
Working directionary:$FileDir$
#pyrcc 配置
目的:类似MATLAB进行拖拽编程,加快进程。
1.搭建Python开发环境,用Anaconda + PyQt + Pycharm https://zhuanlan.zhihu.com/p/30261406
2.Python制作小软件——1. 安装并使用PyQt5进行界面设计 https://blog.csdn.net/weixin_41929524/article/details/81456308
3.python3+PyQt5+Qt designer+pycharm安装及配置+将ui文件转py文件https://www.cnblogs.com/JackyXu2018/p/8722703.html
4.搭建Anaconda+pyCharm环境(NumPy,SciPy )https://www.jianshu.com/p/916362ca16a6
5.python界面编程:VScode+pyqt+pyqt integration配置备忘 https://zhuanlan.zhihu.com/p/66758263
https://www.jianshu.com/p/962b572a216c
import random
import numpy as np
np.random.randi()
random.random()
[1]https://www.jianshu.com/p/36a4bbb5536e
[2]https://www.cnblogs.com/yd1227/archive/2011/03/18/1988015.html
主要区别在于,QMainWindow创建的是一个复合窗口,包括状态栏、菜单栏等。QWidget创建的是单一的页面。
[1]https://blog.csdn.net/superhcq/article/details/53509183
1.嵌套布局 https://www.cnblogs.com/hhh5460/p/5173645.html
2.PyQt5布局管理https://blog.51cto.com/9291927/2423303
3.堆叠布局 https://blog.csdn.net/jia666666/article/details/81669425
6.快速掌握PyQT5 https://blog.csdn.net/La_vie_est_belle/article/details/82316745
7.高级布局 https://muyuuuu.github.io/2019/10/19/pyqt-layout/
8.tutorialspoint https://www.tutorialspoint.com/pyqt/index.htm
9.设置QListWidget https://blog.csdn.net/u011125673/article/details/51753997
10.实战!在Python中制作精美的图形用户界面 https://zhuanlan.zhihu.com/p/44146707
11.Layout https://www.learnpyqt.com/courses/start/layouts/
12.PyQt的Layout的比例化分块 https://blog.csdn.net/weixin_33995481/article/details/86275539
1.https://blog.csdn.net/zengxiantao1994/article/details/76578421
2. 'utf-8' codec
https://www.cnblogs.com/q735613050/p/10017394.html
1.[PyQt] 在QLabel上用drawText实现文字滚动 https://blog.csdn.net/wn0112/article/details/47086597
1.https://blog.csdn.net/haiyu94/article/details/79684792
3.多维数组创建&遍历
# 创建二维数组
[[0 for i in range(cols )] for j in range(rows)]
# 利用句柄的方式遍历
for j in list_a:
for k in j:
pass
https://blog.csdn.net/u012505432/article/details/52218392
https://zhuanlan.zhihu.com/p/88197389
https://blog.csdn.net/u013810296/article/details/55509284
1.【PyQt5-Qt Designer】pyqtSignal()-高级自定义信号与槽] https://www.cnblogs.com/XJT2018/p/10222981.html
2.《Office tutorial》https://www.riverbankcomputing.com/static/Docs/PyQt5/signals_slots.html#connecting-signals-using-keyword-arguments
3.《PyQt5 信号与槽高级用法》http://www.broadview.com.cn/article/824
4.PyQt信号与槽之多窗口数据传递(七)https://blog.csdn.net/jia666666/article/details/81781697
1.read|readline|readlines https://www.cnblogs.com/xiugeng/p/8635862.html
1.try expect else finally https://www.cnblogs.com/Lival/p/6203111.html
1.time datetime moudles https://www.cnblogs.com/tkqasn/p/6001134.html
2.计算时间差 https://www.cnblogs.com/SophiaTang/archive/2012/03/25/2417031.html
3.python--利用datetime模块计算时间差https://blog.csdn.net/wo1182929447/article/details/77841529?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task
4.python datetime处理时间 https://www.cnblogs.com/lhj588/archive/2012/04/23/2466653.html
KEYS:信息传递
1.MoviePy 使用https://zhuanlan.zhihu.com/p/36727011
2.PyQtGraph参考http://www.pyqtgraph.org/documentation/index.html
3.社区 网站
https://infovis-wiki.net/wiki/Main_Page
http://www.visualcomplexity.com/vc/
https://doc.qt.io/qtforpython/PySide2/QtWidgets/QComboBox.html
https://zhuanlan.zhihu.com/p/36691866
1.setstylesheet https://www.cnblogs.com/aheng123/p/5630761.html
2.设置QListWidget透明背景—stylesheet https://blog.csdn.net/liyan728/article/details/8955634
3.QListWidget 设置样式 https://www.bbsmax.com/A/KE5QOlL0zL/
1.PyQt - QLabel Widget https://www.tutorialspoint.com/pyqt/pyqt_qlabel_widget.htm
2.PyQt中QLabel背景与字体的一些设置 https://blog.csdn.net/jiuzuidongpo/article/details/45485127
3.QPalette https://doc.qt.io/qtforpython/PySide2/QtGui/QPalette.html
4.qss样式表之QPushButton https://blog.csdn.net/aiwangtingyun/article/details/94462976
5.setStyleSheet 一些QSS设置的集合https://www.cnblogs.com/xj626852095/p/3648112.html
1.nested pie chartshttps://matplotlib.org/3.2.0/gallery/pie_and_polar_charts/nested_pie.html#sphx-glr-gallery-pie-and-polar-charts-nested-pie-py
2.pie https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.pie.html
3.中文显示乱码https://www.jianshu.com/p/b5138e48fefa
4.embedin pyqt https://matplotlib.org/gallery/user_interfaces/embedding_in_qt_sgskip.html?highlight=pyqt
5.Matplotlib可视化50个图表https://www.jiqizhixin.com/articles/2019-01-15-11
6.https://matplotlib.org/3.2.1/api/_as_gen/matplotlib.figure.Figure.html
1.Qt 之 QLCDNumber https://blog.csdn.net/liang19890820/article/details/50917205
2.qLCDnumber https://www.riverbankcomputing.com/static/Docs/PyQt4/qLCDnumber.html
3.pyqt实现时钟效果 https://www.pythontab.com/html/2013/pythongui_0703/474.html
4.pyqt实现简易时钟 https://blog.csdn.net/Kprogram/article/details/83623079
5.QLCDNumber使用https://blog.csdn.net/xuancailinggan/article/details/77487705
1.PyQt5布局管理之QSplitter(六)https://blog.csdn.net/jia666666/article/details/81705675
2.QSplitter 分割线 https://blog.csdn.net/skykingf/article/details/8247593
1.PyQt5系列教程(8):标准输入对话框https://zhuanlan.zhihu.com/p/29101077
1.anaconda 环境配置
https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html
https://blog.csdn.net/a380331382/article/details/84951086
1.函数式编程
https://www.liaoxuefeng.com/wiki/1016959663602400/1017451662295584
1.地球实时图片
https://www.jianshu.com/p/4b0dbdb837f6
1.+ | append | like array
https://zhuanlan.zhihu.com/p/76184970
2.matrix & list
https://blog.csdn.net/flying_sfeng/article/details/66478616
1.一些差异
https://zhuanlan.zhihu.com/p/54131038
2.查找
https://www.geeksforgeeks.org/bisect-algorithm-functions-in-python/
https://blog.csdn.net/wudiyi815/article/details/7775549
3.matplotlb figure ax 类从属关系
https://www.cnblogs.com/vamei/archive/2013/01/30/2879700.html
1.animation
https://blog.csdn.net/u013180339/article/details/77002254
https://pan.baidu.com/s/1Kcutb0Fzg8gU5R4nONDCyg流畅的python
Python学习手册(第4版)
Python Cookbook 中文版
《流畅的Python》
1.全屏https://www.cnblogs.com/linuxAndMcu/p/11533636.html
2.matplotlib 背景图
http://www.huaxiaozhuan.com/%E5%B7%A5%E5%85%B7/matplotlib/chapters/matplotlib.html
https://www.cnblogs.com/kallan/p/7337035.html
1.线程定时器
https://zhuanlan.zhihu.com/p/32094690
1.音乐播放器
https://zhuanlan.zhihu.com/p/60907386
2.pyaudio https://zhuanlan.zhihu.com/p/71235612
可视化https://blog.csdn.net/See_Star/article/details/104797734
https://blog.csdn.net/weixin_43800510/article/details/100052775
https://blog.csdn.net/baidu_29198395/article/details/86694365
3.音频处理
https://documentation.help/py-science-zh/wave_pyaudio.html
https://cloud.tencent.com/developer/section/1369728
- 源文件(一般是
.tar.gz
或.zip
文件,用pip
安装,与机器架构无关,但某些package可能涉及到C/C++编译) - wheel文件(二进制文件,拓展名为
.whl
,用pip
安装,无需编译,但与机器架构相关) .egg
文件(二进制文件,用easy_install
安装,无需编译,但与机器架构相关)
1.pip doc
https://pip.pypa.io/en/stable/quickstart/
2.*.wheel *.tar.gz
https://blog.csdn.net/m511655654/article/details/85274861
3.环境变量
# 添加环境变量
path = %path%; d:\conda
# 查看环境变量
echo %path%
从OSM在某个地址的某个距离内创建一个图
在某个边界框内从OSM创建图形。
从OSM在某些地理可编码地方的边界内创建图形。
从 OSM 在一些(lat,lng)点的距离内创建一个图形。
在某些形状多边形的边界内从OSM创建图形。
从OSM格式的XML文件中的数据创建图形。
1.显示器信息
https://blog.csdn.net/weixin_43945855/article/details/103526490
https://zhuanlan.zhihu.com/p/76628440
2.practic
https://blog.csdn.net/sinat_39013092/article/details/81388991
3.精灵
https://blog.csdn.net/sinat_39013092/article/details/81869401
4.指南
https://eyehere.net/2011/python-pygame-novice-professional-index/
https://www.runoob.com/w3cnote/scrapy-detail.html
https://www.pythonf.cn/read/120182
https://blog.csdn.net/zhujiangtaotaise/article/details/74424157
git config --global core.quotepath false//注意是2个"-"
https://www.cnblogs.com/code-changeworld/p/4779145.html
本地与远程冲突
git push -u origin master -f
https://www.cnblogs.com/yongdaimi/p/9771143.html
Git 提示error:src refspec master does not match any
原因是本地目录内没有内容。
https://www.jianshu.com/p/e1f440a9f313
https://blog.csdn.net/tozeroblog/article/details/79423807
https://blog.csdn.net/wd2014610/article/details/80854807
https://blog.csdn.net/xiasohuai/article/details/81980112
git fetch origin
git diff master origin/master
https://blog.csdn.net/hudashi/article/details/7664429
# 删除文件
git rm -f *.*
# 删除缓存修改
git rm --cached *file.format*
# revert 子命令
git add -i
#
git checkout<文件名>
http://www.ruanyifeng.com/blog/2015/12/git-workflow.html
https://zhuanlan.zhihu.com/p/72946397
# 修改上一次提交注释
# ↓
git commit --amend
# ↓
i #进入修改模式
# ↓
:wq #保存
# 修改多次注释
git rebase -i HEAD~2
[1] https://www.jianshu.com/p/098d85a58bf1
编码方式不统一,导致GUI显示数字内容。解决方式
config 文件
[gui]
encoding:GBK (此处编方式同文件原始编码方式一致)
[1] http://xstarcd.github.io/wiki/shell/git_chinese.html
合并commit
https://juejin.im/post/5925a2d9a22b9d0058b0fd9b
#使用sparse checkout模式能够实现此功能
# 创建并初始化本地仓库
mkdir NewFolder
cd NewFolder
git init
# 将远程仓链接添加到本地
git remote add origin -f <url>
# 设置sparse checkout模式
git config core.sparsecheckout true
# 将需要check out 的文件(夹)作为列表保存在.git/info/sparse-checkout文件中。
echo "libs">>.git/info/sparse-checkout
echo "path/files">>.git/info/sparse-checkout
git pull origin master
# 删除名字为branch_name远程分支
git push origin --delete branch_name
# 删除名字为branch_name本地分支
git branch -d branch_name
https://www.cnblogs.com/luosongchao/p/3408365.html
https://blog.csdn.net/Mr_JavaScript/article/details/83043174