|
|
(126 intermediate revisions by 69 users not shown) |
Line 1: |
Line 1: |
| == Mex and compiler setting == | | == Mex and compiler setting == |
− | ==== How to set up [http://www.breast-enhancement-page.com<span style="display:none">breast actives results</span>] <span class="plainlinks">[http://www.healthcarechain.net/lose-weight-the-easy-way-with-caralluma-burn <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">caralluma burn</span>] mex compiler on a 64-bit Matlab using Visual Studio 2008 <span class="plainlinks"> | + | ==== How to set up mex compiler on a 64-bit Matlab using Visual Studio 2008 Professional ==== |
− | [http://www.diarrhea-treatment.net/2011/07/11/diarrhea-baby-treatment-–-discover-the-effective-treatments-for-infant-diarrhea/ baby diarrhea treatment]
| + | # I was using Visual Studio 2008 Profession that is free for college students. I believe 2008 Express works the same way, too. |
− | | + | # When you install Visual Studio 2008, I recommend to install 'Full' so that you are sure the 64-bit compilers and libraries are installed. |
− | [http://www.dsdmobile.com/ iphone repair mississauga]
| + | # Go to Download, uncompress and copy the x64 mex option files under the MATLABROOT\bin\win64\mexopts. |
− | [http://www.customessayhelp.com/ essay writing]
| + | # Do a mex -setup. Let Matlab locate the installed compiler. Select "Microsoft Visual C++ 2008". |
− | [http://www.customessayhelp.com/essay-writing-help.html essay writing help online]
| + | # Use mex command to compile a simple file. You get the following error |
− | [http://www.customessayhelp.com/custom-essay-help.html buy custom essays]
| |
− | [https://www.inspectionreportsonline.net reports online]
| |
− | [https://www.inspectionreportsonline.net online reporting]
| |
− | [https://www.inspectionreportsonline.net inspection reports]
| |
− | [https://www.inspectionreportsonline.net building reports]
| |
− | [https://www.inspectionreportsonline.net third party reporting]
| |
− | [https://www.inspectionreportsonline.net 3rd party reporting]
| |
− | [https://www.inspectionreportsonline.net third party inspection reporting]
| |
− | [https://www.inspectionreportsonline.net NFPA]
| |
− | [https://www.inspectionreportsonline.net NAFED]
| |
− | [https://www.inspectionreportsonline.net NFPA.org]
| |
− | [http://www.handlesandthings.com/door-handles-c-183 Door Handles]
| |
− | [http://www.handlesandthings.com/front-door-hardware-c-177 Play Door Furniture]
| |
− | [http://www.2dplay.com/shooting-games.htm Free Shooting Games]
| |
− | [http://www.2dplay.com/shooting-games.htm Shooting Games]
| |
− | [http://www.2dplay.com/skateboard-games.htm Skateboard Games]
| |
− | [http://www.2dplay.com/fun-games.htm Fun Games]
| |
− | [http://www.2dplay.com/adventure-games.htm Adventure Games]
| |
− | [http://www.2dplay.com/american-football-games.htm American Football Games]
| |
− | [http://www.2dplay.com/memory-games.htm Memory Games]
| |
− | [http://www.2dplay.com/racing-games.htm Racing Games]
| |
− | [http://www.2dplay.com/car-games.htm Car Games]
| |
− | [http://www.2dplay.com/sniper-games.htm Sniper Games]
| |
− | [http://www.2dplay.com/bike-games.htm bike games]
| |
− | [http://www.2dplay.com/action-games.htm Action Games]
| |
− | [http://www.2dplay.com/basketball-games.htm Basketball Games]
| |
− | [http://www.2dplay.com/rpg-strategy-games.htm Strategy Games]
| |
− | [http://www.2dplay.com/sports-games.htm Sports Games]
| |
− | [http://www.2dplay.com/army-games.htm Army Games]
| |
− | [http://www.2dplay.com Play Games Online]
| |
− | [http://www.2dplay.com Play Free Games Online]
| |
− | [http://www.accesshealthcareonline.com Access Healthcare]
| |
− | [http://www.accesshealthcareonline.com Access Health Care]
| |
− | [http://www.accesshealthcareonline.com/massage-therapy-Chicago-Illinois.aspx Chiropractor in Chicago]
| |
− | [http://www.accesshealthcareonline.com/massage-therapy-Chicago-Illinois.aspx Massage Therapy Chicago]
| |
− | [http://www.dupageattorneys.com/ law firm Chicago]
| |
− | [http://www.dupageattorneys.com/services/personal-injury-attorney-chicago/ Personal Injury Lawyer Chicago]
| |
− | [http://www.dupageattorneys.com/services/personal-injury-attorney-chicago/ Personal Injury Law Firms Chicago]
| |
− | [http://www.dupageattorneys.com/services/family-law/ family law chicago]
| |
− | [http://www.dupageattorneys.com/services/family-law/ family lawyer chicago]
| |
− | [http://www.dupageattorneys.com/services/family-law/ divorce attorney chicago]
| |
− | [http://www.dupageattorneys.com/services/workers-compensation/ chicago workers compensation lawyer]
| |
− | [http://itsanotherone.com/2010/11/brett-merl-supports-youth-hockey/ <span style="color:black;font-weight:normal; text-decoration:none!important;background:none!important; text-decoration:none;">Brett Merl</span>] Professional ====
| |
− | # I was using Visual Studio 2008 <span class="plainlinks">[http://advertising-pr.dbusinessnews.com/shownews.php?articletitle=Institutions%20like%20ThinkStrategy%20Capital%20Conduct%20Comprehensive%20Hedge%20Fund%20Due%20Diligence;%20Industry%20Procedures%20Upgraded&newsid=239902&type_news=latest&s=sbab <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">ThinkStrategy Capital</span>] Profession that is free for college students <span class="plainlinks">[http://www.mycaal.com/ <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">loan modification</span>]. I believe <span class="plainlinks">[http://www.bestpenisstretcher.net<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">penis stretcher</span>] 2008 Express <span class="plainlinks">[http://www.keyenvironmentalinc.org <span style="color:black;font-weight:normal; text-decoration:none!important;background:none!important; text-decoration:none;">Key Environmental Inc</span>] works the same way, too <span class="plainlinks">[http://www.thegoldeconomy.com/ <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">price of gold</span>]. | |
− | [http://www.LavenderOil.com Essential lavender oil]
| |
− | [http://betteronlinedegrees.com/online-bachelor-degrees Online Bachelor Degrees]
| |
− | [http://www.customessayhelp.com/buy-research-paper.html buy research paper]
| |
− | [http://www.loansandcredit.com bad credit personal loans]
| |
− | [http://www.essaymojo.co.uk/write-my-essay.php Write My Essay For Me]
| |
− | [http://www.essaymojo.co.uk/buy-essay.php Buy Essay Online]
| |
− | [http://www.essaymojo.co.uk/essay-service.php Essay Writing]
| |
− | [http://www.carouseldayschool.net/ Carousel Day School]
| |
− | [http://www.essaymojo.co.uk/dissertation.php/ UK Dissertations]
| |
− | [http://www.easyessayhelp.com/PriceStructure.php cheap essays]
| |
− | [http://www.essayinn.co.uk Essay Help]
| |
− | [http://www.mightydesigners.com/ Logo Design Contest]
| |
− | [http://www.scavengerhuntanywhere.com/ Team Building]|[http://www.essayinn.co.uk Essay Help]
| |
− | | |
− | Learn <span class="plainlinks">[http://www.24-7pressrelease.com/press-release/investment-manager-thinkstrategy-capital-displays-exceptional-generosity-as-fiduciary-214901.php <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">ThinkStrategy Capital</span>] more on <span class="plainlinks">[http://occupationaltherapyschoolsite.com/<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">Occupational Therapist School</span>] your online guide to educational <span class="plainlinks">[http://benefilbreastcream.com <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">Benefil breast cream</span>] career.
| |
− | | |
− | # When you install Visual Studio 2008, I recommend <span class="plainlinks">[http://www.skin-products-review.com/breastactives <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">breast actives</span>] to [http://www.gamehobbit.com rpg games free online] [http://www.pcgames4u.com free download games] install <span class="plainlinks">[http://www.gumball-machine.com/vending-machines.html <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">vending machines</span>] 'Full' so that you are <span class="plainlinks">[http://www.truckaccidentlawyersource.com/ <span style="color:black;font-weight:normal; text-decoration:none!important;background:none!important; text-decoration:none;">truck accident lawyer</span>] sure the 64-bit compilers and libraries <span class="plainlinks">[http://www.cleanfresnocarpets.com/ <span style="color:black;font-weight:normal; text-decoration:none!important;background:none!important; text-decoration:none;">clovis carpet cleaning</span>] are installed. [http://www.essayinn.co.uk/cheap-custom-essays/ Cheap Custom Essays] | |
− | # Go to http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=18508&objectType=file. Download, uncompress and copy the x64 mex option files under the MATLABROOT\bin\win64\mexopts. | |
− | # Do a mex -setup. Let Matlab locate <span class="plainlinks">[http://www.internetreputationmanagement.com/ <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">reputation management online</span>] the installed [http://www.bestpills4weightloss.com weight loss pills] compiler. Select "Microsoft Visual C++ 2008". | |
− | # Use <span class="plainlinks">[http://brooks-range.com/cirro-anorak-hoody.html <span style="color:black;font-weight:normal; text-decoration:none!important;background:none!important; text-decoration:none;">primaloft mountaineering jacket</span>]mex command to <span class="plainlinks">[http://www.zetaclearspot.com <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">Zetaclear</span>] compile a simple file. You get the following error | |
| <pre> | | <pre> |
| C:\PROGRA~1\MATLAB\R2007B\BIN\MEX.PL: | | C:\PROGRA~1\MATLAB\R2007B\BIN\MEX.PL: |
Line 75: |
Line 11: |
| C:\Users\deancool\AppData\Roaming\MathWorks\MATLAB\R2007b\mexopts.bat | | C:\Users\deancool\AppData\Roaming\MathWorks\MATLAB\R2007b\mexopts.bat |
| You cannot use this file with the WIN64 architecture because it enables | | You cannot use this file with the WIN64 architecture because it enables |
− | a compiler for a different architecture . | + | a compiler for a different architecture. |
− | Running mex -setup may [http://www.sexcam-dude.com/ sexcam dude] resolve this problem. | + | Running mex -setup may resolve this problem. |
− |
| |
| | | |
| </pre> | | </pre> |
Line 88: |
Line 23: |
| ## Line 36: /MACHINE:'''X64''' | | ## Line 36: /MACHINE:'''X64''' |
| | | |
− | *[http://www.eko-law.com/tampa-business-lawyer/ Tampa business lawyer]
| + | NOTE: Environment - Windows Vista 64-bit, Matlab 2007b 64-bit. |
− | *[http://www.kidney-stones-symptoms-cure.com/ symptoms of kidney stones]
| |
− | *[http://www.gallbladderdetox.com/gall-bladder-symptoms/ gall bladder symptoms]
| |
− | *[http://www.geldspielautomaten.tv/ Automatenspiele]
| |
− | *[http://tinyurl.com/67l3tla gamestar]
| |
− | *[http://www.easyessayhelp.com/essay-writers.php Professional Essay Writers]
| |
− | *[http://www.easyessayhelp.com/buy-essay.php Buy An Essay Online]
| |
− | *[http://www.nghenghiepviet.com Tim Viec Lam]
| |
− | *[http://www.easyessayhelp.com/quality-essays.php Buy Non Plagiarized Essay Online]
| |
− | *[http://www.easyessayhelp.com/urgent-essay.php Urgent Essay]
| |
− | *[http://www.easyessayhelp.com/need-essay.php Need Cheap Custom Essays]
| |
− | *[http://www.easyessayhelp.com/authentic-essays.php Authentic Essays]
| |
− | *[http://www.easyessayhelp.com/buy-custom-paper.php Custom Essay Paper]
| |
− | *[http://daotao.nghenghiepviet.com Dao Tao]
| |
− | *[http://tuyendung.nghenghiepviet.com Tuyen Dung]
| |
− | *[http://www.shoppharmacycounter.com/ weight loss pills]
| |
− | *[http://www.tradingadvantage.com/spyvses.html S&P 500 Index]
| |
− | *[http://www.easyessayhelp.com essay writing]
| |
− | *[http://www.easyessayhelp.com/write-my-essay.php help me write my essay]
| |
− | *[http://www.easyessayhelp.com/research-paper.php research paper help]
| |
− | *[http://www.easyessayhelp.com/write-my-research-paper.php write my research paper]
| |
− | | |
− | | |
− | | |
− | NOTE: Environment - Windows Vista 64-bit, <span class="plainlinks">[http://www.cleanfresnocarpets.com<span style="color:black;font-weight:normal; text-decoration:none!important;background:none!important; text-decoration:none;">fresno carpet cleaning</span>] Matlab 2007b 64-bit, [http://www.book-of-ra-online.info/ Book of Ra]. | |
| | | |
| My mexopts.bat file: [[Image:Mexopts.zip]] | | My mexopts.bat file: [[Image:Mexopts.zip]] |
Line 119: |
Line 30: |
| # Go to control->system->environmental variables. Edit 'path' and add the following dir: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64 | | # Go to control->system->environmental variables. Edit 'path' and add the following dir: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64 |
| # Go to control->system->environmental variables. Edit 'LIB' and add the following dir: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\lib\amd64 | | # Go to control->system->environmental variables. Edit 'LIB' and add the following dir: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\lib\amd64 |
− | Or go to <span class="plainlinks">[http://www.andrewflusche.com/ <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">Virginia Reckless Driving</span>] C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64 and run vcvarsamd64.bat | + | Or go to C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64 and run vcvarsamd64.bat |
| | | |
| == How to compile cvOdesGenMod5.c == | | == How to compile cvOdesGenMod5.c == |
Line 138: |
Line 49: |
| | | |
| ==== Linux ==== | | ==== Linux ==== |
− | NOTE: Under 64-bit Ubuntu and 64-bit Matlab, you have to do thefollowing changes to make the mex <span class="plainlinks">[http://www.diamondlinks.net/ <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">link building service</span>] compilation all about it<span class="plainlinks">[http://phen375-uk.co.uk/buy-phentemine-uk/ <span style="color:white;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">buy phentemine uk</span>] | + | NOTE: Under 64-bit Ubuntu and 64-bit Matlab, you have to do the following changes to make the mex compilation work. |
− | | |
− | | |
| # Edit the mexopts.sh and remove all ''-lstdc++'' | | # Edit the mexopts.sh and remove all ''-lstdc++'' |
| # Edit the cvodesGenmod5.c. Find function 'clear' and remove the 'static' declaration. | | # Edit the cvodesGenmod5.c. Find function 'clear' and remove the 'static' declaration. |
| # When you use gcc to compile, add a flag '-fPIC'. | | # When you use gcc to compile, add a flag '-fPIC'. |
− |
| |
− |
| |
| | | |
| == How to prepare a COMKAT release == | | == How to prepare a COMKAT release == |
Line 153: |
Line 60: |
| == CCIR-specific settings for MATLAB distributed computing server == | | == CCIR-specific settings for MATLAB distributed computing server == |
| | | |
− | As the server is installed on the 123 subnets, clients [http://baovevn.vn<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">bao ve</span>] [http://www.supplementstoweightloss.com/t-adipex.aspx adipex], [http://baovevn.vn/dich-vu-bao-ve-an-ninh/<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">dich vu bao ve</span>], [http://baovevn.vn/cong-ty-tu-van-nghiep-vu-bao-ve/<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">cong ty bao ve</span>], [http://noithathoangduy.com.vn<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">noithat</span>], [http://noithathoangduy.com.vn<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">noithathoaphat</span>], [http://noithathoangduy.com.vn/noithatnhapngoai-noithatdailoan.aspx<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">noithatnhapngoai</span>], [http://thebeginnerslens.com/ <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">iphone photography</span>] [http://noithathoangduy.com.vn/noithatnhapngoai-noithatdailoan.aspx<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">noithatdailoan</span>], [http://noithathoangduy.com.vn/noithatvanphong-noithatfami.aspx<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">noithatvanphong</span>], [http://noithathoangduy.com.vn/noithatvanphong-noithatfami.aspx<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">noithatfami</span>], [http://www.nhakhoavietgiao.com.vn/list2.php?cid=49<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">nha khoa</span>], [http://www.cuudulieu24h.com<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">cuu du lieu</span>], | + | As the server is installed on the 123 subnets, clients on the 125 subnets will not be able to connect to the job manager unless the following modification is made: |
− | [http://www.digiseo.com<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">seo</span>],[http://banbuon24h.com<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">rao vat</span>],[http://www.digiseo.com/en<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">seo services</span>] [http://www.college-scholarships.com/ssac.htm <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">online degree</span>]
| |
− | [http://www.digiseo.com/thiet-ke-website<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">thiet ke web</span>],[http://www.digiseo.com/quang-ba-website<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">quang ba web</span>]
| |
− | [http://www.digiseo.com/quang-ba-website/dich-vu-seo.php<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">marketing online</span>],[http://www.sms4smile.org<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">Funny SMS</span>],[http://namthaibinhduong.edu.vn <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">du hoc my</span>],[http://namthaibinhduong.edu.vn <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">du hoc uc</span>],[http://namthaibinhduong.edu.vn <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">du hoc singapore</span>]
| |
− | [http://namthaibinhduong.edu.vn <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">du hoc</span>],[http://namthaibinhduong.edu.vn <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">tu van du hoc</span>],[http://namthaibinhduong.edu.vn <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">cong ty du hoc</span>],[http://thanglonghousing.com <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">villas for rent in hanoi</span>],[http://www.vietnamairlinesticket.com <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">vietnam airlines</span>],[http://uvc-thanhlapcongty.com<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">thanh lap cong ty</span>],[http://uvc-thanhlapcongty.com<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">thanh lap cty</span>],[http://uvc-thanhlapcongty.com<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">thành lập công ty</span>],
| |
− | [http://uvc-thanhlapcongty.com/dang-ky-online/dang-ky-thanh-lap-doanh-nghiep.html<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">thanh lap doanh nghiep</span>],[http://uvc-thanhlapcongty.com/dang-ky-online/dang-ky-thanh-lap-doanh-nghiep.html<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">thành lập doanh nghiệp</span>], [http://uvc-thanhlapcongty.com/cung-cap-dich-vu/dich-vu-ke-toan.html<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">dịch vụ kế toán</span>],[http://uvc-thanhlapcongty.com/cung-cap-dich-vu/dich-vu-ke-toan.html<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">dich vu ke toan</span>],[http://uvc-thanhlapcongty.com/cung-cap-dich-vu/dai-ly-bao-cao-thue.html<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">bao cao thue</span>],[http://uvc-thanhlapcongty.com/van-ban-phap-quy/dang-ky-kinh-doanh.html<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">dang ky kinh doanh</span>], [http://www.digiseo.com/gioi-thieu.php<span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">quang cao truc tuyen</span>][http://www.kidney-stones-symptoms-cure.com/ symptoms of kidney stones]
| |
− | [http://www.gallbladderdetox.com/gall-bladder-symptoms/ gall bladder symptoms]
| |
− | on the 125 subnets will not be able to connect to the job manager unless the following modification is made:
| |
| | | |
| 1. On the client side, edit the file 'hosts' and add a line | | 1. On the client side, edit the file 'hosts' and add a line |
Line 176: |
Line 76: |
| 2. On the server side, edit the 'hosts' file. Do the same thing to add the ip and computer name of the client to this file. | | 2. On the server side, edit the 'hosts' file. Do the same thing to add the ip and computer name of the client to this file. |
| | | |
− | 3. Now the findResource command should work without any problem. | + | 3. Now the findResource command should work without any problem. |
− | [http://www.micrositez-seo.co.uk/ Digital Agency Glasgow]
| |
| | | |
| == MATLAB Compiler == | | == MATLAB Compiler == |
− | ==== Weird behavior of path settings for compiled MATLAB applications ==== | + | ==== Weird behavior of path settings for compiled MATLAB applications === |
| __ | | __ |
| For example, compiled main_GUI.m under ''c:\comkat\comkat_GUI\'' and set the output directory to be ''c:\compiled_dir\''. | | For example, compiled main_GUI.m under ''c:\comkat\comkat_GUI\'' and set the output directory to be ''c:\compiled_dir\''. |
Line 193: |
Line 92: |
| Under MATLAB, x will be returned properly; However, under compiled MATLAB application, it returns: | | Under MATLAB, x will be returned properly; However, under compiled MATLAB application, it returns: |
| <pre> Undefined function or variable 'loadModelTemplate'</pre> | | <pre> Undefined function or variable 'loadModelTemplate'</pre> |
| + | |
| The reason is that, under compiled MATLAB applications, ''fileparts(which('main_GUI'))'' returns the directory of '''c:\compiled_dir\main_GUI_mcr\main_GUI\''' that contains all the encrypted m-files. Once you switch to this folder, although you will find a file called loadModelTemplate, or function won't be able to be called. The command exist('loadModelTemplate') returns | | The reason is that, under compiled MATLAB applications, ''fileparts(which('main_GUI'))'' returns the directory of '''c:\compiled_dir\main_GUI_mcr\main_GUI\''' that contains all the encrypted m-files. Once you switch to this folder, although you will find a file called loadModelTemplate, or function won't be able to be called. The command exist('loadModelTemplate') returns |
| <pre>0</pre> | | <pre>0</pre> |
| You would have to exit this folder in order to call this function. | | You would have to exit this folder in order to call this function. |
− | <br>Therefore, if you do use which and cd to find files and enter a certain <span class="plainlinks">[http://marcdmanoff.roamology.com/ <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">marc manoff</span>] directory, it is recommended that you do it this way: | + | <br>Therefore, if you do use which and cd to find files and enter a certain directory, it is recommended that you do it this way: |
| <pre>if ~isdeployed | | <pre>if ~isdeployed |
| cd(fileparts(which('main_GUI'))) | | cd(fileparts(which('main_GUI'))) |
| end</pre> | | end</pre> |
| So that you don't run into errors... | | So that you don't run into errors... |
− | <span class="plainlinks">[http://www.mycaal.com <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">loan modification</span>]
| |
| | | |
| == uitable errors when deployed == | | == uitable errors when deployed == |
| For MATLAB 2008a and earlier, uitable errors when it is compiled with Matlab Compiler. | | For MATLAB 2008a and earlier, uitable errors when it is compiled with Matlab Compiler. |
− | *[http://www.pitguru.com Futures Trading]
| |
− | [http://www.futurespress.com Futures Market]
| |
− | [http://www.tradingadvantage.com/marketprofile.html Market Profile]
| |
− | *[http://www.nocostautoglassrepair.com Auto Glass Repair]
| |
− | [http://www.learnaboutfutures.com Learn Futures Trading]
| |
− | [http://goldetftrading.com Gold ETF]
| |
− | *[http://inflationeffects.com Inflation Effects]
| |
− |
| |
− | [http://www.commoditysilver.com Silver Futures]
| |
− | [http://www.bellycommoditytrading.com Pork Belly Futures]
| |
− | *[http://www.commodinews.com Commodity News]
| |
− | [http://www.itchyskinbumps.com Itchy skin Bumps]
| |
− | *[http://www.commoditycalendar.com Options Calendar]
| |
− | [http://www.currencyratecalculator.com Currencies Converter]
| |
− | [http://www.goldcommoditytrading.com Gold Futures]
| |
− | [http://www.tradingadvantage.com Learn to Trade]
| |
− |
| |
− |
| |
− | To fix this follow http://www.mathworks.cn/support/bugreports/details.html?rp=449936
| |
− |
| |
− | [http://www.arabaoyunlarimiz.gen.tr/araba-oyunlari/ Araba Oyunları]
| |
− | [http://www.houstonnewhomeconstruction.com/ Houston new home]
| |
− | [http://www.houstontopdoctors.com/ Houston Doctors]
| |
− | [http://www.mydochub.com/ find a doctor ratings]
| |
− | [http://www.youtube.com/watch?v=0XHDRmjbhkQ weber natural gas grill]
| |
− | [http://astore.amazon.com/webernaturalgasgrill0f-20 weber natural gas grill]
| |
− | [http://duanqwlwbu.hubpages.com/hub/choosewebernaturalgasgrill Weber Natural Gas Grill]
| |
− | [http://www.youtube.com/watch?v=Mj2a2k18LpY Pacquiao Vs Marquez]
| |
− | [http://www.mydochub.com/blog celebrities without makeup]
| |
− | [http://www.ganarplataporinternet.com/ Ganar Plata Por Internet]
| |
− | [http://www.houstonnewhomeconstruction.com/ Houston new homes]
| |
− | [http://www.floridatechonline.com/undergraduate-degrees/ online undergraduate degrees]
| |
− | [http://www.floridatechonline.com/undergraduate-aa-accounting-degree/ associates degree accounting]
| |
− | [http://houstontopattorneys.com/ Houston Top Attorneys]
| |
− | [http://www.houstonnewhomeconstruction.com/ New Homes in Houston]
| |
− | [http://houstontopattorneys.com/ Best Attorneys in Houston]
| |
− | [http://www.houstonnewhomeconstruction.com/ Houston New Home Builders]
| |
− | [http://www.micrositez.us/seo-packages Seo Packages]
| |
− | [http://www.ephoenixduiattorney.com/ Phoenix DUI Attorney]
| |
− | [http://www.kidney-stones-symptoms-cure.com/ symptoms of kidney stones]
| |
− | [http://www.gallbladderdetox.com/gall-bladder-symptoms/ gall bladder symptoms]
| |
− | [http://www.houstonnewhomeconstruction.com/ Houston New Homes for Sale]
| |
− | [http://www.ephoenixduiattorney.com/ Phoenix DUI Attorneys]
| |
− | [http://www.houstonnewhomeconstruction.com/ Houston New Home Communities]
| |
− | * [http://baovevn.vn bao ve]
| |
− | * [http://noithathoangduy.com.vn noithat]
| |
− | * [http://www.nhakhoavietgiao.com.vn/list2.php?cid=49 nha khoa]
| |
− | * [http://www.cuudulieu24h.com cuu du lieu]
| |
− | [http://www.digiseo.com seo]
| |
− | [http://banbuon24h.com rao vat]
| |
− | [http://www.digiseo.com/en seo services]
| |
− | [http://www.sms4smile.org Funny SMS]
| |
− | [http://namthaibinhduong.edu.vn du hoc my]
| |
− | [http://thanglonghousing.com villas for rent in hanoi]
| |
− | [http://eyewearconnection.com/hardy-lbc-87.html ed hardy sunglasses]
| |
− | * [http://uvc-thanhlapcongty.com thanh lap cong ty]
| |
− |
| |
− | [http://www.ocularconcepts.us Website Design Cleveland]
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− | <div class="right" >
| |
− | <ul style="display:none;">
| |
− | [http://mayweatherversusortiz.com/ Mayweather vs Ortiz]
| |
− |
| |
− | [http://www.thingstodoinbali.org/ Things to do in Bali]
| |
− | [http://www.teethwhiteningathomev.com/ Teeth whitening at homei]
| |
− | [http://pacquiaovsmarquez3live.com/ Pacquiao vs Marquez]
| |
− | [http://www.thingstodoinbali.org/ Bali attractions]
| |
− | [[http://www.vietnamairlinesticket.com vietnam airlines]] [[http://thanglonghousing.com villas for rent in hanoi]] [[http://namthaibinhduong.edu.vn du hoc singapore]] [[http://namthaibinhduong.edu.vn du hoc my]] [[http://namthaibinhduong.edu.vn du hoc uc]] [[http://namthaibinhduong.edu.vn cong ty du hoc]] [[http://namthaibinhduong.edu.vn tu van du hoc]] [[http://namthaibinhduong.edu.vn du hoc]] [[http://www.sms4smile.org Funny SMS]] [[http://www.digiseo.com/quang-ba-website/dich-vu-seo.php marketing online]] [[http://www.digiseo.com/quang-ba-website quang ba web]] [[http://www.digiseo.com/thiet-ke-website thiet ke web]] [[http://www.digiseo.com/en seo services]] [[http://banbuon24h.com rao vat]]
| |
− | [[http://www.digiseo.com seo]] [[http://www.digiseo.com/gioi-thieu.php quang cao truc tuyen]] [[http://www.cuudulieu24h.com cuu du lieu]] [[http://www.digiseo.com/gioi-thieu.php quang cao truc tuyen]] [[http://www.cuudulieu24h.com cuu du lieu]] [[http://thutucthanhlapcongty.net/index.php/doanh-nghiep-trong-nuoc/dieu-kien-thanh-lap-cong-ty-bao-ve/ dieu kien thanh lap cong ty]] [[http://thutucthanhlapcongty.net/index.php/dich-vu-ke-khai-thue/ dịch vụ kê khai thuế]] [[http://thutucthanhlapcongty.net/index.php/doanh-nghiep-trong-nuoc/tu-van-thanh-lap-cong-ty/ tu van thanh lap cong ty]] [[http://thutucthanhlapcongty.net/index.php/dich-vu-tu-van-tim-ke-toan/ tu van ke toan]] [[http://thutucthanhlapcongty.net/index.php/dich-vu-tu-van-tim-ke-toan/ tim ke toan]]
| |
− | [[http://thutucthanhlapcongty.net/index.php/dich-vu-tu-van-tim-ke-toan/ dich vu ke toan]] [[http://thutucthanhlapcongty.net/index.php/dich-vu-tu-van-tim-ke-toan/ dịch vụ kế toán]] [[http://thutucthanhlapcongty.net/index.php/doanh-nghiep-trong-nuoc/thanh-lap-cong-ty-tnhh-mot-thanh-vien/ thanh lap cong ty]] [[http://thutucthanhlapcongty.net/index.php/doanh-nghiep-trong-nuoc/thanh-lap-cong-ty-tnhh-mot-thanh-vien/ thanh lap cong ty tnhh]] [[http://thutucthanhlapcongty.net/index.php/doanh-nghiep-trong-nuoc/thanh-lap-cong-ty-co-phan/ thành lập công ty cổ phần]] [[http://thutucthanhlapcongty.net cach thanh lap cong ty]] [[http://thutucthanhlapcongty.net dieu kien thanh lap cong ty]] [[http://thutucthanhlapcongty.net qui trinh thanh lap cong ty]] [[http://uvc-thanhlapcongty.com/cung-cap-dich-vu/dich-vu-ke-toan.html dịch vụ kế toán]] [[http://uvc-thanhlapcongty.com/cung-cap-dich-vu/dich-vu-ke-toan.html dich vu ke toan]] [[http://uvc-thanhlapcongty.com/dang-ky-online/dang-ky-thanh-lap-doanh-nghiep.html thành lập doanh nghiệp]] [[http://uvc-thanhlapcongty.com thành lập công ty]] [[http://www.nhakhoavietgiao.com.vn/list2.php?cid=49 nha khoa]]
| |
− |
| |
− | [http://mayweatherversusortiz.com/2011/07/mayweather-vs-ortiz-tickets-for-sale/ Mayweather vs Ortiz Tickets]
| |
− | [http://www.whattodoinsydney.net/ What to do in Sydney]
| |
− | [http://pacquiaovsmarquez3live.com/2011/07/pacquiao-vs-marquez-tickets-for-sale/ Pacquiao vs Marquez Tickets]
| |
− | [http://www.whattodoinsydney.net/ Things to do in Sydney]
| |
− | [http://mayweatherversusortiz.com/2011/07/mayweather-vs-ortiz-free-live-streaming/ Mayweather vs Ortiz Live Streaming]
| |
− | [http://pacquiaovsmarquez3live.com/2011/07/pacquiao-vs-marquez-trilogy-free-live-streaming/ Pacquiao vs Marquez Live Streaming]
| |
− | [http://www.apcwheelstops.com Concrete Wheel Stops]
| |
− | [http://www.schooltechideas.com/university-advisory/medical-billing-and-coding-at-home-scams-4-signs-to-look-out-fo medical billing]
| |
− | [http://www.kidney-stones-symptoms-cure.com/ symptoms of kidney stones]
| |
− | [http://www.gallbladderdetox.com/gall-bladder-symptoms/ gall bladder symptoms]
| |
− | </div>
| |
Mex and compiler setting
How to set up mex compiler on a 64-bit Matlab using Visual Studio 2008 Professional
- I was using Visual Studio 2008 Profession that is free for college students. I believe 2008 Express works the same way, too.
- When you install Visual Studio 2008, I recommend to install 'Full' so that you are sure the 64-bit compilers and libraries are installed.
- Go to Download, uncompress and copy the x64 mex option files under the MATLABROOT\bin\win64\mexopts.
- Do a mex -setup. Let Matlab locate the installed compiler. Select "Microsoft Visual C++ 2008".
- Use mex command to compile a simple file. You get the following error
C:\PROGRA~1\MATLAB\R2007B\BIN\MEX.PL:
Error: Using options file:
C:\Users\deancool\AppData\Roaming\MathWorks\MATLAB\R2007b\mexopts.bat
You cannot use this file with the WIN64 architecture because it enables
a compiler for a different architecture.
Running mex -setup may resolve this problem.
To fix this error:
- Locate your mexopts.bat file. Edit the following lines:
- Line 17 (set PATH): add '\amd64' after set PATH=%VCINSTALLDIR%\BIN\
- Line 19 (set LIB): add '\amd64' after set LIB=%VCINSTALLDIR%\ATLMFC\LIB and %VCINSTALLDIR%\LIB. Add '\x64' after C:\Program Files\Microsoft SDKs\Windows\v6.0A\lib
- Line 20: set MW_TARGET_ARCH=win64
- Line 34: set LIBLOC=%MATLAB%\extern\lib\win64\microsoft
- Line 36: /MACHINE:X64
NOTE: Environment - Windows Vista 64-bit, Matlab 2007b 64-bit.
My mexopts.bat file: File:Mexopts.zip
How to set up the C compiler from Visual Studio 2008 on a 64-bit Windows system
- Go to control->system->environmental variables. Edit 'path' and add the following dir: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64
- Go to control->system->environmental variables. Edit 'LIB' and add the following dir: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\lib\amd64
Or go to C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64 and run vcvarsamd64.bat
How to compile cvOdesGenMod5.c
Windows
1. Enter COMKATROOT\CVODESserial-2.3.0-2005\sundials\cvodes\source. Run:
cl /c /I..\include /I..\..\shared\include *.c
lib /out:cvodes.lib *.obj
Copy cvodes.lib to the COMKATROOT\lib\win64 folder (change win64 according to your system)
2. Enter COMKATROOT\CVODESserial-2.3.0-2005\sundials\shared\source. Run:
cl /c /I..\include *.c
lib /out:sundials.lib *.obj
Copy sundials.lib to the COMKATROOT\lib\win64 folder (change win64 according to your system)
3. Enter COMKATROOT\CVODESserial-2.3.0-2005\sundials\nvec_ser. Run
cl /c /I..\shared\include *.c
lib /out:nvec_ser.lib *.obj
Copy nvec_ser.lib to the COMKATROOT\lib\win64 folder (change win64 according to your system)
Linux
NOTE: Under 64-bit Ubuntu and 64-bit Matlab, you have to do the following changes to make the mex compilation work.
- Edit the mexopts.sh and remove all -lstdc++
- Edit the cvodesGenmod5.c. Find function 'clear' and remove the 'static' declaration.
- When you use gcc to compile, add a flag '-fPIC'.
How to prepare a COMKAT release
CCIR-specific settings for MATLAB distributed computing server
As the server is installed on the 123 subnets, clients on the 125 subnets will not be able to connect to the job manager unless the following modification is made:
1. On the client side, edit the file 'hosts' and add a line
<THE SERVER IP ADDRESS> <SERVER NAME>
such as:
123.456.78.9 HEADNODE
Contact Dean or Dr. Muzic to get the right information.
The 'hosts' file can be found at '/etc/' in Macs and '/Windows/System32/drivers/etc/' in Windows-based PCs.
2. On the server side, edit the 'hosts' file. Do the same thing to add the ip and computer name of the client to this file.
3. Now the findResource command should work without any problem.
MATLAB Compiler
= Weird behavior of path settings for compiled MATLAB applications
__
For example, compiled main_GUI.m under c:\comkat\comkat_GUI\ and set the output directory to be c:\compiled_dir\.
Before being compiled, the output to which('main_GUI') returns:
c:\comkat\comkat_GUI\
After being compiled, the same command returns:
c:\compiled_dir\main_GUI_mcr\main_GUI\
You have to be careful because if you are calling another function, for example, loadModelTemplate.m from main_GUI. If the directory is not switched, there should not be a problem. But if you switch to the directory of main_GUI.m, different behavior happens.
The commands executed are:
cd(fileparts(which('main_GUI')))
x = loadModelTemplate
Under MATLAB, x will be returned properly; However, under compiled MATLAB application, it returns:
Undefined function or variable 'loadModelTemplate'
The reason is that, under compiled MATLAB applications, fileparts(which('main_GUI')) returns the directory of c:\compiled_dir\main_GUI_mcr\main_GUI\ that contains all the encrypted m-files. Once you switch to this folder, although you will find a file called loadModelTemplate, or function won't be able to be called. The command exist('loadModelTemplate') returns
0
You would have to exit this folder in order to call this function.
Therefore, if you do use which and cd to find files and enter a certain directory, it is recommended that you do it this way:
if ~isdeployed
cd(fileparts(which('main_GUI')))
end
So that you don't run into errors...
uitable errors when deployed
For MATLAB 2008a and earlier, uitable errors when it is compiled with Matlab Compiler.