at15 / mk-fld

A MATLAB program that use M-K model to calculate FLD and FLSD
Apache License 2.0
3 stars 2 forks source link

Add editor config to readme or doc foler #8

Open at15 opened 8 years ago

at15 commented 8 years ago

How to use sublime for matlab code editing. (The matlab editor sucks, admit it)

Sublime text

Install extension

The full instruction is following

import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)

View -> Syntax -> Open all with current extension as ...