当前位置:网站首页>安装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需要安装到哪个位置

边栏推荐
- JS learning notes 24-28: end
- Chapter 3 stack, queue and array
- Solution to the problem of high collapse caused by float (including all methods)
- 知识产权相关的风险评估要怎么做
- Introduction to MITK
- RPC (remote procedure call protocol) telecommunication framework
- Various pitfalls encountered in UI development
- Foundation of knowledge atlas (II) - knowledge expression system of knowledge atlas
- 云计算需要考虑的安全技术列举
- Downloading PIP package is too slow
猜你喜欢

Google lab usage notes

Chapter II linear table

Deploy flask on Alibaba cloud server

35道MySQL面试必问题图解,小白都能看懂

Instant experience | further improve application device compatibility with cts-d

PS modify the length and width pixels and file size of photos
Node.js+express realizes the operation of MySQL database

Foundation of knowledge atlas (II) - knowledge expression system of knowledge atlas

Talk about low code / zero code tools

C language related programming exercises
随机推荐
C language: mathematical method of converting decimal system into binary system
Redis configuration file explanation
Rocky基础之修改网卡名为eth0
Node.js+express realizes the operation of MySQL database
35道MySQL面试必问题图解,小白都能看懂
1st pre class exercise
Process finished with exit code-1073740791(0xC0000409)
JS学习笔记18-23
3、 C language storage class
Is the expansion operator a deep copy or a shallow copy
多商户商城系统功能拆解17讲-平台端订单列表
Vtkcellpicker picking triangular patches
网络安全应急响应具体操作流程
20、 ROS distributed communication
Chapter II linear table
MLX90640 红外热成像仪传感器模块开发笔记(八)
Three pain points of software development! How to solve the applet container?
The second pre class exercise
Image steganography method
云上安全主要面临的威胁有哪些