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

边栏推荐
- QT hex, decimal, qbytearray, qstring data conversion
- Qt development tips
- Read the introduction tutorial of rainbow
- Introduction to MITK
- MITK creates plug-ins and generates plug-ins
- Word creates a title list with automatic numbering
- MLX90640 红外热成像仪传感器模块开发笔记(八)
- Analysis vulnerability introduction
- 企业微信客服链接,企业微信客服聊天
- RPC (remote procedure call protocol) telecommunication framework
猜你喜欢

Picture Trojan principle production prevention

58 sub station Anju, broker marketing management platform login interface encryption reverse

PS modify the length and width pixels and file size of photos

MySQL authorization method

SSH service

buuctf_ php
Gradle -- package multiple variants with gradle

Hard disk partition method

On July 29, apachecon | apachepulsar's exploration and practice in vivo will be broadcast soon

A problem -- about dragging div in JS, when I change div to round, there will be a bug
随机推荐
Instructions for common symbols in kotlin
PS modify the length and width pixels and file size of photos
SSL socket cross platform solution libevent OpenSSL
MySQL authorization method
Mlx90640 infrared thermal imager sensor module development notes (VIII)
2021-09-02
Solve blast database error: error pre fetching sequence data
C language: mathematical method of converting decimal system into binary system
15、 Launch file label of ROS (I)
Use of beefs
Picture Trojan principle production prevention
PS how to crop photos
QT hex, decimal, qbytearray, qstring data conversion
UTF-8、UTF-16 和 UTF-32 字符编码之间的区别?[图文详解]
Three pain points of software development! How to solve the applet container?
Solution: attributeerror: type object 'h5py.h5a AttrID has no attribute __ reduce_ cython__
linear transformation
QT qbuttongroup realizes single selection and multiple selection
VTK vtkcontourwidget extracts regions of interest
16、 Launch file label of ROS (II)