当前位置:网站首页>安装mosek,license安装位置查找
安装mosek,license安装位置查找
2022-07-28 14:11:00 【小草cys】
安装mosek的步骤。
第一步:安装网站:Mosek - Downloads
下载软件安装包

我下载的使Windows的,根据需要可变。
第二步:安装软件包,跟着提示步骤继续安装就可以了。
第三步:打开Matlab,设置添加路径


路径设置取决于第二步软件包的安装路径:选择添加文件夹,设置路径,之后点击保存。
另外一个方法是在Matlab中输入:addpath('D:\360Downloads\Mosek\9.3\toolbox\R2015a'),输入内容与第二部保存路径一致。
第四步:获取license.
获取地址:Academic Licenses
这个需要用学校的邮箱去申请,在学校官网申请邮箱,在这个网址申请。
发送的邮件里会有一个文件,即license

邮件里面会给出需要保存的位置,一般是C-users-用户名-mosek文件夹,即在用户名文件夹下新建一个mosek文件夹,把license放在mosek文件夹中。
若仍不清楚位置,或在测试时候找不到license,可以自测license文件需要保存的位置,输入:
clear;close all;clc;
%optimazation problem
R = [2 -3; 4 5];
p = [-1; -3];
A= [2 1; -3 7; 4 2];
B = [3; 1; 5];
lb = [0; 0];
[x,fval,exitflag,output,lambda] = quadprog(R,p,A,B,[],[],lb);
第五步:测试程序,输入mosekdiag
即可看到lic需要安装到哪个位置

边栏推荐
- Is the expansion operator a deep copy or a shallow copy
- 5、 C language judgment statement
- 7、 Detailed explanation of C language function definition
- 35道MySQL面试必问题图解,小白都能看懂
- Chapter II linear table
- Compose learning notes 1-compose, state, flow, remember
- Rocky基础之修改网卡名为eth0
- First class exercise
- C language: mathematical method of converting decimal system into binary system
- Wonderful frog -- how simple can it be to abandon the float and use the navigation bar set by the elastic box
猜你喜欢

Analysis vulnerability introduction

Qt development tips
Robot mathematics foundation 3D space position representation space position

Establishment and traversal of binary tree (implemented in C language)

Mlx90640 infrared thermal imager sensor module development notes (VIII)

SQL labs detailed problem solving process (less1-less10)

21、 TF coordinate transformation (I): coordinate MSG message

多商户商城系统功能拆解17讲-平台端订单列表

即刻体验 | 借助 CTS-D 进一步提升应用设备兼容性

On July 29, apachecon | apachepulsar's exploration and practice in vivo will be broadcast soon
随机推荐
MITK create module
Chapter 3 stack, queue and array
Gradle -- package multiple variants with gradle
Read the introduction tutorial of rainbow
Chapter II linear table
SSH service
Idea2020.1.4 packages package collapse
19、 ROS parameter name setting
Knowledge map Foundation (I) - what is knowledge map
Keras reported an error using tensorboard: cannot stop profiling
Picture Trojan principle production prevention
The modified network card name of rocky foundation is eth0
Process finished with exit code-1073740791(0xC0000409)
Downloading PIP package is too slow
VTK vtkcontourwidget extracts regions of interest
Bcompare key expired or bcompare license key revoked
Reptile: from introduction to imprisonment (I) -- Concept
MITK creates plug-ins and generates plug-ins
&0xffffffff(0x08)
RPC (remote procedure call protocol) telecommunication framework