Windows系统MATLAB远程桌面使用时报错的问题
MATLAB #RemoteDesktopwindows自带的远程桌面系统非常好用,比一些第三方的软件比如team viewer 要好用一些,因为其实现方式不同,导致也会有一些新的问题。今天要解决的就是MATLAB远程桌面不能使用报错的问题,这是由于MATLAB激活时选择的license文件时stand alone版本,不是服务器版本。在网络上搜索之后,知道如下解决方案:
https://blog.csdn.net/wcx1293296315/article/details/88738119
需要手动修改“C:\Program Files\MATLAB\R2018b\licenses\license*.lic”文件的内容(实际位置和文件需要根据自己的MATLAB版本和位置修改),在该文件的每一行最后都加上一个“TS_OK”, 前两行如下
123456INCREMENT Aerospace_Blockset MLM 369 permanent uncounted \ VENDOR_STRING=vi=0:at=200:ae=1:lu=300:lo=IN:ei=6257193:lr=1: ...
用shadowsocks搭建自己的代理服务教程
ScientificSurf服务器的购买关于购买何种服务器,有比较多的人讨论,因为最近很多服务器涨价,以及很多服务器的ip被封,曾经大家非常推崇的搬瓦工目前已经不太能用了,我是在看了该介绍之后,按照该方法购买了hostwinds一个服务器,选择的是最便宜的版本,安装了ubuntu 16.04. 选择hostwind而不是搬瓦工等其他的,是基于
(1) 并且hostwind有24小时在线的客服,有啥问题可以直接问
(2) hostwind有针对ip被封的解决办法,我最开始填的地址在美国,导致分配的ip地址中国ping不了,在和客服说了以后更改了位置并且重启网络部署之后,ip就可以访问了。
shadowsocks的安装有了一台国外的远程服务器,接下来就可以用其作为代理了。需要下载并且安装shadowsocks,我是根据该教程,下载并且安装部署好了shadowsocks,一切都比较顺利~
本地登录本地登录需要首先有一个shadowsocks客户端,自己去github搜索下载即可,虽然原本的shadowsocks已经被删除了,但其实还有很多的备份,比如这个,下载安装windows版本之后,就可 ...
Useful python web and sources
Collection #PythonUseful package and corresponding web page
Solveset Solve the equations better than solve
scipy.interpolate.griddata interpolate the data with ununiform grid
scipy.interpolate.interp interpolate the 1d data
scipy.interpolate.interp2d interpolate the 1d data
odeintw provides a wrapper of “scipy.integrate.odeint” that allows it to handle complex and matrix differential equations. That is, it can solve equations of the form.
animatplot could let the animated plot easier and provi ...
How to uninstall ubuntu with windows/ubuntu dual system
Ubuntu #Windows https://www.jianshu.com/p/66a092caaa36?tdsourcetag=s_pctim_aiomsg
This is original from above blog.
On a dual-system computer, if you use Ubuntu’s built-in grub program as boot to boot, you cannot directly format the disk on windows where Ubuntu is located, otherwise the MBR contents on the hard disk will be wiped out and the boot will not succeed.
To uninstall Ubuntu, you need to first delete its MBR content and then format its hard disk. For different computers, there are di ...
PythonPlot (2) ThreeOrthogonalVectors
Python #PlotAll the python study code can be found in my own repository.
PurposeWhen we describe the angle of an vector in 3d space, we will use three vectors to describe them. When We have three orthogonal vectors, how can be describe them and show them via plot? This is the purpose of this note.
To plot three orthogonal vectors in a 3d space. We will use three parameters to describe them.
: the polar angle, angle between the c axis and the z axis
: the azimuthal angle
Ratio_xy : to rotate ...
Python Plot (1) A small ball on a smooth semicircle (Animated)
Python #PlotAll the python study code can be found in my own repository.
PurposeIn high school we learned how to use the energy conservation law to get the velocity for a ball slides down a 1/4 circle. However, the time needed in this process is still unknown. The period for a pendulum also uses a approximated expression. In this note, I will try to solve the time evolution for a ball slide down from a smooth semi-circle numerically via python. I will compare the oscillator approximation and ac ...
How to use COMSOL, MATLAB and COMSOL livelink with MATLAB on Server
MATLAB #COMSOL #Livelink #Server[TOC]
This note is to show the way of using MATLAB, COMSOL,COMSOL Livelink With MATLAB on our server (ubuntu). We hope that we can run them with bash code in background and after we logout or exit the server the simulations will continue. We also need to know the simulation progress from a log file. These needs can all be satisfied only if you write proper bash code.
Run COMSOL on serverIf you want to run COMSOL on server, you can use the command of the followin ...
APS用RevTex投稿全记录
APS本笔记详细技术了如何用latex写一篇论文并投稿。在准备论文的时候,需要用到的软件有
Texlive ,用来编译Latex。
RevTex,APS官方写作包,对于Texlive,一般都会默认安装有Texlive,只是不是最新版的。
Latex编辑器,我比较推荐Texstudio,或者Sublime或者Vs code等。
文献管理软件,我比较推荐Endnote以及Mendeley,文献管理软件很多,找一个适合自己的,我自己用的是Endnote。
当然,实际准备论文时候,还需要准备论文绘图,绘制数据图的时候,我使用了MATLAB和python一起来绘制的,二者都不能完全相互替代。绘制示意图时,用到了Corel draw绘制二维矢量图,Blender绘制三维图。
准备阶段在准备阶段,需要安装一系列软件。每个人用的软件可能会有区别,比如写latex我喜欢用sublime来书写,其在插入文献的时候有其他软件无法比拟的功能。我在此以我用的软件为例,写一下准备一篇文章需要经过哪些步骤。
安装texlive2018: 用来编译latex文件
安装编辑器, 用来书写文章。
推荐TexSt ...
Linux设置远程桌面连接
Ubuntu #RemoteDesktop介绍本篇笔记记述了如何在Ubuntu上面配置好xrdp,并且通过windows或者Ubuntu访问。这种方法对于访问linux服务器比Teamviewer要好用,登录后借助于第三方桌面系统,虚拟了一个桌面出来,所以与原来的ubuntu桌面是不一样的,能够满足我们偶尔连接一下,进行少量的图形桌面操作。对于原理讲的比较清楚的是下面这篇博文https://www.linuxidc.com/Linux/2017-09/147112.htm我在自己的电脑ubuntu 16.04以及另外一台服务器ubuntu 18.04上面分别试验了一下,方法有所区别。
18.04的配置方法:
https://baijiahao.baidu.com/s?id=1619271691270163095&wfr=spider&for=pc
按照上面这篇博文的方法一步步的做就可以,不做过多说明。
16.04的配置方法
https://www.linuxidc.com/Linux/2017-09/147112.htmhttps://www.cnblogs.c ...
EndNote文献管理总结
Endnote #Reference介绍 对于搞科研的人来说,有很大一部分时间都花在读文献上,做不同的课题时,会收集相当数量的文献,如果可以高效的管理文献,将会对科研工作大有裨益。文献管理可以分为两种,一种是通过文件夹来管理,需要自己花额外大的事件来命名文件,比如作者、期刊、年份、卷号,有时候还想加上题目,文献很多时,会非常麻烦。我曾经也是用这种方法来管理文献,现在也没有完全舍弃。第二种方法是采用文献管理软件,用软件对文献进行分类保存。目前市面上的软件也是五花八门,比如大名鼎鼎的“Endnote”,免费的“Mendeley”,”Zotero”,“Docear”,”Papers”,以及最近比较火的“Citavi”,可以参考该讨论 我目前只用过Endnote、Mendeley以及短暂用过一点Citavi,最后选择了Endnote,本来前期很喜欢Mendeley,全平台支持,界面友好。因为课题组的人要统一工具,便于分享,最后用上了Endnote,果然是商业软件,用起来还是非常靠谱的。在自己准备第一篇文章的时候,慢慢的摸索查资料,逐渐知道了怎么用Endnote管理文献并且配合w ...