I, MATLAB use mex error and GCC installation of a variety of problems to solve.
when I run my program, I notice that the “model” in the image below has not defne. (undefined)
access to a number of data, walk a lot of detours, only to find that the original is tex-mex file not compile.
then, compile tex-mex file, enter: tex-mex – setup
found an error again: “No supported compiler or the SDK was found.” p>
open baidu began to browse a variety of, dazzling methods… In fact, you only need to download the supported compiler or SDK.
is here, and since I’m ubuntu’s matlab for Linux, all I need to do is install GCC.
the steps are as follows:
sudo apt-get build-dep GCC
sudo apt-get build-dep gcc
after the above method is used, the following situation occurs:
Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
enter the command:
sudo rm /var/lib/dpkg/lock sudo dpkg --configure -a
when you run the initial command, the following situation occurs:
Unable to locate package
sudo apt-get update
start installation… Error:
, possibly due to network or other conflicts
ubuntu apt-get (You must put some ‘source’ URIs in your sources. List)
E: You must put some ‘source’ URIs in your sources. List
sudo vi /etc/apt/sources.list
open an editor and type:
deb-src http://archive.ubuntu.com/ubuntu trusty main restricted #Added by software-properties deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty restricted main universe multiverse #Added by software-properties deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-updates restricted main universe multiverse #Added by software-properties deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse #Added by software-properties deb-src http://security.ubuntu.com/ubuntu trusty-security restricted main universe multiverse #Added by software-properties deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-proposed restricted main universe multiverse #Added by software-properties
press Esc, enter: wq, then enter the command:
sudo apt-get update
: “E45: ‘readonly’ option is set (add! To override) p>”
this is authority, set file into read-only permissions, as is known to all, read-only files need to be performed prior to such modification sudo, but have changed, how to enforce save?Geeks tell you! Just save and execute the following command:
:wq! The above command is to force save exit, and then you can!
try again to run sudo apt-get build-dep GCC, again failed.
method 2: enter the command: sudo apt-get install build-essential
sudo apt-get install build-essential
start installation, successful.
Windows of matlab in tex-mex compilation fails, go to https://ww2.mathworks.cn/support/requirements/supported-compilers.html directly download the corresponding matlab version of MinGW C/C + + 6.3.
Finally, enter MTALAB and enter met-setup
raises a problem to be solved: train a decision tree, use the random forest classifier to extract the features of the input image, and output the frequency image??
- About the problem that Ubuntu kylin can’t locate the package update
- Ubuntu 18.04 desktop installation tasksel aptitude failed (100) problem repair
- ubuntu executes apt-get update and reports Failed to fetch/replace Ali source
- Linux has no way to solve bash. / that file or directory
- How to Solve apt get update problem: usr/lib/apt/methods/HTTPS could not be found_PUBKEY 7EA0A9C3F273FCD8
- Reading package lists… Error! (How to Fix)
- Under the “return-d” mode, the number of “return / return” is 1
- [How to Fix] dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
- Ubuntu error: flAbsPath on /var/lib/dpkg/status failed – realpath (2: No such file or directory)
- Ubuntu 20.04 installing gfortran-6/ libgfortran.so .3
- “Failed to load session” Ubuntu “problem solving summary
- Linux novice: unable to locate package error solution
- Solution of dpkg interrupted problem
- Prompt “libevent not found” when installing tmux
- E: sub process / usr / bin / dpkg returned an error code (2) solution under Ubuntu
- VBoxClient (seamless): failed to start. Stage: Setting guest IRQ filter mas Error: VERR_INTERNAL_ERR
- Ubuntu add apt repository command not found solution
- [problem solving] Error:failed to get canonical path of /cow
- ubuntu-how to solve the error-Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release
- “ XX.app ”It is damaged and cannot be opened. You should move it to the wastebasket.