ข้ามไปที่เนื้อหาหลัก

บทความ

กำลังแสดงโพสต์ที่มีป้ายกำกับ โปรแกรม matlab

matlab shortcut shortkey preferences in ubuntu linux

default เป็น ของ emac ไม่ถูกใจ อยากใช้เหมือน windows เซตตามนี้ ปล. มีให้เซต สองที่นะ Command Window Key กับ Editor debugger key binding ที่อยู่ทางขวา ที่ไม่ได้วงไว้ด้วยอ่ะ

Andrea Vedaldi's matlab sift toolbox library version 09.17 on ubuntu linux

กว่าจะลงได้ ลากเลือด จดไว้หน่อย เสือกใช้ gcc version เก่า >> sift_compile Warning: You are using gcc version "4.3.3-5ubuntu4)". The earliest gcc version supported with mex is "4.0.0". The latest version tested for use with mex is "4.2.0". To download a different version of gcc, visit http://gcc.gnu.org เอ้า จัดไป เวอร์ชั่นเก่าก็ได้ $ sudo ln -s /usr/bin/gcc-4.1 /usr/bin/gcc ข้างบน คือ วิธีหน้าโง่ จริงๆ เข้าไปแก้ใน ไฟล์ คอนฟิก ${HOME}/.matlab/R2008b/mexopts.sh ก็ได้ CC='/usr/bin/gcc-4.1' #'gcc' gcc version เก่า แม่ง ไม่มี stdc++ มาให้อีก ลิงก์ lib ให้มันซะ ไม่งั้นมัน error ld library ( จริงๆ เซต LD_LIBRARY_PATH ก็น่าจะได้ ) $ sudo ln -s /usr/lib/libstdc++.so.6.0.10 /usr/lib/libstdc++.so เท่านั้นแหละ compile ผ่านละ พอไป make บน linux $ make mex -I. CFLAGS='$CFLAGS -I. -pedantic -Wall -g -O3 -Wno-variadic-macros ' imsmooth.c -o imsmooth mex: unrecognized option '-I.' This is pdfTeXk, Version 3.141592-1.40.3 (Web2C ...