Professional Documents
Culture Documents
T o File2
T o File2
Aboutme
Privacy
Contact
Sitemap
Blogngohaibac
Hychiascchias.
Tofile.exetrongMatlabdngMatlabCompiler
byngohaibaconMarch27,2008
CnhiubnkhbnkhonvvicdchmtngdngtrongMatlabrafile.exechyclptrnccmykhngciMatlabngkhng??Haylcchnggi
snphmcamnhthnnlmthno?
cthdchrafile.exeyucubnphictoolboxMATLABCompiler.Ccbncthxemchititvtoolboxnyvcchdngntiy.Mnhnghln
hngdnquyvMatlabCompiler,ccbnchukhctuncuilc.CcbncibHelpchoMatlabcthtmToolboxnytrongphnHelp
(nhnF1).
Trongbivitny,mnhxingiithiucchtofile.exebngDeploymentTool.Cngcgiaodinthnthin,khngphiglnh,chgpthlc.
Yucu
Matlab7.0trln(vmnhtestt7.0
smile_teeth ).
Bc1:ChncngcbindchC
Note:Bcnychcnthchin1lnduynhtbanu,numunchncngcbindchkhcthchylibcny.
>>mbuildsetupPleasechooseyourcompilerforbuildingstandaloneMATLABapplications:Wouldyoulikembuildtolocateinstalledcompilers[y]/n?ySel
NhccbnthychngtachcnchncngcbindchCcsncaMatlablcri(Lachn1).
Bc2:ChycngcDevelopmentTool
Glnh:
>>deploytool
Khi,giaodincachngtrnhDeploymentToolhinra:
Hnh1:GiaodinchngtrnhDeploymentTool
Tcascachngtrnhccbncthlmtheohngdncachngtrnhcri.
VomenuFilechnNewDeploymentProjecthockichvoicontrnthanhcngc.
Hnh2:NewDeploymentTool
Tyccbncnhiulachnchovicdchprojectcabnkhngnhngdchrafile.exemcnnhiuloifilekhcnhtothvinC,C++,thvinnhngvo
Excel,...NhngymnhchnStandaloneApplicationtongdngclp.ChnniluprojecttrongLocationvnhnOK.
Hnh3:CasDeploymentToolsaukhitomiProject
SauccbnvomenuProject>Addfilethmfilecadnccbnvo.Lu:cthkchphivotngloinhMainFunction,otherfiles,..vchnAdd
File.
Note:PhithmhtccfiletrongdnmbnmundchvotrongProjectvato.
Bc3:Dchchngtrnh
NumundchthccbnchnTools>Build(Ctr+B)dch.Ccbnphikinnhnchviprojectlnnh.
NumunnggisnphnthchnTools>Package(Ctr+P)dch.
Note:Thlccbndchxongri .Tuynhinchydctrnmykhcchaxongu.CcbncnphicopyfileMCRInstaller.execaphinbnMatlab
cabnangsdngchovocngthmcvifilenggivatora.Khimangsangmykhcthchyfile.exenstngciMCRlnu.Cnlnsaukphi
cina.
bitvtrcaMCRInstaller:
>>mcrinstallerTheWIN32MCRInstaller,version7.7,is:C:\ProgramFiles\MATLAB\R2007b\toolbox\compiler\deploy\win32\MCRInstaller.exeMCRinstallersf
bitversioncaMCRhintig:
>>[mcrmajor,mcrminor]=mcrversionmcrmajor=7mcrminor=7
Ch:CopyMCRInstallercngvithmcccbnfilepackage.Khi,chyfilepackagethnstciMCRInstaller.
MnhbindchvchythnhcngProjectRS232CommunicationchyclptrnmykhngciMatlab.
Thamkho
Bivitcbinsonlitrncsbivitpostccdinnintcamnhccbnthamkhoddnghn.
NgHiBc,Tofile.exetrongMatlab,www.dientuvietnam.net
NgHiBc,GiaotipRS232trnPCquaMatlab,www.picvietnam.com
CcBiVitLinQuan:
1. Tofile.exechogiaodinGUIMatlabChoccbn.SaukhiccbnbitcchvitmtgiaodinGUI,bitcchdchrafile.exetchytrnmtmykhcthbygimnhkt
hplmsaoy??BinymnhdchmtprojectGUItngilnhiuthnhphn:RS232Communicationc[]...
2. LptrnhgiaodinGUItrongMatlab(Phn1)MnhvitbinytnghplicchngdnvthitkgiaodinGUItrongMatlabccbnddngthchin.Phnmm:
MatlabR2007aBiutinmnhsgiithiuccbngiaodinGUI.1.MphnmmMatlab,glnhsauvocasCommand>>[]...
3. DemosdngRTAI,ComediLibkthpviMatlab/Simulink/RTWSaukhitnmtthigianconfiglinhtinhviUbuntu8.04cuicngcitxongRTAIvComediLib
nhndincxongciPCI6220caNI.nphncicitrnhbindchmhnhthnhmCththngScilab/ScicoschytnqunhiuCPU,move1cimhnhl[]...
4. Matlabtnhtonthigianchyngdng,mthmHmtrccrecordvideovVideohngdnlptrnhGUI:to1mytnhnginkhngthyccbnchoking,
khnghiucttkhngna,nukttthsdnglilmvickhcHmnayxingiithiumtcngcngintrongMatlab[]...
5. CctnhchtcacciukhintrongGUIDEMatlabChoccbn.MnhxingiccbntiliuMatlab7CreatingGraphicalUserInterfaces,ltiliudng.pdfcatiliu
trongHelpcaMatlab.CcbnnocthtchiucEnglishthtiliunylquyri.Ccbivitcamnhdamt[]...
6. Citmtfile.bintrongUbuntu8.04LTSChoccbn.citmtfile.bintrongUbuntuOSchngtalmnhsau:MTerminallndnglnhcdchuynnthmccha
file.bin.Saudnglnhchmodsetquynsdngfileny:Code:chmoda+xname_of_file.binSautinhnhcitbng[]...
{40commentsaddone}
LePhuongLyApril18,2008,10:41am
helloHaiBac,minhdangtestthutaofile.exetheohuongdancuaban,nhunggapvandela:
>>deploytool
???Undefinedfunctionorvariabledeploytool.
Minhdungmatlab7.0
Mongnhandcsugiupdocuaban,minhcungdanglaptrinhmatlabtrongxulytiengnoi,minhmuonhoiban1sovandenua,kobitcodcko?Chuc1ngayvuive?
Reply
adminApril18,2008,11:57am
Chobn.
MnhhintiangdngbnMatlabR2007a.Hitrcmnhlmhngdntrndientuvietnam.netthdngbnR2007b.Cllbn7.0chacdeploytool
ri.Vythbnnhphiglnhbindchthi,bnxemhelptoolboxMatlabCompilernh.
TtnhtbnnnmuaciaMatlabR2007bhocbnminhtR2008amdngchothchbn:D.
Bnctcuhii,numnhbitthstrlim.
Chcbnthnhcng.
Reply
LePhuongLyApril22,2008,12:24pm
Chobn,cmnbnnhiu.
Hinmnhlmnlptrnhbngmatlab.Cngviclthum,hinthdngsngtnhiu,nhph(spectrogram)vphntchphtnhiu.Chcmtvn
mnhlmchalmclcncthanhchnmtontnhiunnhnhttrongfigurehinthdngsngphntchphcan.Bnclikhuynnocho
mnhkhng?Hivngsmnhnccutrlicabn.
Chcbnmttunmivuivhctpvlmvichiuqu.
Reply
adminApril22,2008,12:38pm
Chobn.
Mnhnghvncabncngkhngqukh,bivkhibnxutdliurafigurethbnchmy=f(x)ri.Do,cngviccacithanhchnc
thdngSlidebar,chnhlchngitrxtrncsquansthnhnhtrnfigure.
Cth,nginbndngmthpEditBox,gkhonggitrxmbnthynnhnhtphntchph.
NudngSidebar,mnhnghbnsdchmtondliucax=khongnocdinhtnhtybnchn,trttheogitrx,trongkhi,mthmngt
casidebarcnhimvhinthphcacinyramtfigurekhc.Chccinytrcquanhn.
Vd:chngitrdelta=1:0.1:2chnghn.
vvaluelgitrvtrcathanhtrtchnghn.
Thkhonggitrcnly=delta.+value
Chcbnthnhcng.
Reply
hung_dtvtApril26,2008,1:44am
ThsaukhilmGUIxongmunchuynsangfile.exethlmnhhngdntrnckhnga?
Reply
adminApril26,2008,1:46am
Choem.
Chuyncm.lcnoanhuploadciprojectlptrnhgiaotipRS232bngGUIchuynquafile.exechomxem.
Chyngonlnhlun.
Reply
hung_dtvtApril26,2008,1:49am
iechabitlmthno,aupcifileexelnthexemcngchiujuch.Hehe
Reply
adminApril26,2008,1:52am
nginym.Emclmtheobctrn.Addhtmifilemprojectcaemdnglntdchm.
Khngsu.Mitichhilulut.
Reply
hung_dtvtApril26,2008,1:59am
Ohmvngcmnanh.maithlmcoisao.Hehe
Reply
LePhuongLyApril29,2008,2:15pm
chobn,
bnchydemotoolboxes=>signalprocessing=>spectralanalysisstatisticalsignalprocessing=>spectrogramdemo.Bnxemnc2thanhtrt,mnh
munathanhtrtvochngtrnhcamnh,vyphilmthno?hichicnghmimchara,chnwa.
Chcbntunmivuiv!
Reply
KalinaMay10,2008,8:15pm
ChoBc!bni,mnhdngbn7.5mcilnhdeploytoolcngkodngc,bygilmthno!Mnhangrtcn,cmn
Reply
KalinaMay15,2008,10:46am
Bc!MnhcilituynhinciphnToolboxComplierri,nhngvnkhnglmc,haymnhphidngkongbnmatlabnh,bn7.1cm.
linyny:
>>deploytool
???Undefinedfunctionorvariabledeploytool.
Reply
LamhpvnMay21,2008,6:29am
Bnchohi,mnhangtmcchcitmcrinstallertrnmyngisdng.(chybnggicamnh)Nhngkhngbittmbciu?Mnhdngbn
2007a.
Cmnbn!
Reply
hungnguyenJune13,2008,4:23am
Phntrnhbycabnrthay!Mnhdangcnnnxinsdngphnnycabn!
Reply
LMinhHuySeptember2,2008,8:10pm
Anhchoehi:Saukhixutraccfilevsdnglnhtrongmitrngc++thtcthcthilnhsovidngtrongmitrngmatlabthno?
Reply
NguynDuyKhimOctober5,2008,6:36am
Emthlmtheottcccbc,gycclnhri.EMaddcifile.mdlcaemvoProject,nhngcuicngemkhngthBuildocvntbuildvn
bn,emthvomenuTools>Buildcngthynbn.EmUndockcicasnthnhmtcasringnhngtnhhnhkhngcithin.File.mdlca
emchyngon,khngcvng,chyclpkhngcnMfile.EmthlmnhiuProjectkhcviccfielmdlkhcnhngvnb.ANhxemgipemsai
unh!
Reply
NguynDuyKhimOctober5,2008,6:55am
EMposthnhlndientuvetnam.net,vemchactikhonhotmailnnemlipostnhlnSkydriver.ANhcthigianthxemhemnh,cmnanh.
http://dientuvietnam.net/forums/showthread.php?p=137264#post137264
http://dientuvietnam.net/forums/showthread.php?p=137264#post137264
Reply
NguynDuyKhimOctober5,2008,6:59am
>>mbuildsetup
mbuildsetup
PleasechooseyourcompilerforbuildingstandaloneMATLABapplications:
Wouldyoulikembuildtolocateinstalledcompilers[y]/n?mbuildsetup
Selectacompiler:
[1]Lccwin32C2.4.1inC:\PROGRA~1\MATLAB\R2008a\sys\lcc
[0]None
Compiler:1
Pleaseverifyyourchoices:
Compiler:Lccwin32C2.4.1
Location:C:\PROGRA~1\MATLAB\R2008a\sys\lcc
Arethesecorrect[y]/n?y
Tryingtoupdateoptionsfile:C:\DocumentsandSettings\User\ApplicationData\MathWorks\MATLAB\R2008a\compopts.bat
Fromtemplate:C:\PROGRA~1\MATLAB\R2008a\bin\win32\mbuildopts\lcccompp.bat
Done...
PleasechooseyourcompilerforbuildingstandaloneMATLABapplications:
Wouldyoulikembuildtolocateinstalledcompilers[y]/n?y
Selectacompiler:
[1]Lccwin32C2.4.1inC:\PROGRA~1\MATLAB\R2008a\sys\lcc
[0]None
Compiler:1
Pleaseverifyyourchoices:
Compiler:Lccwin32C2.4.1
Location:C:\PROGRA~1\MATLAB\R2008a\sys\lcc
Arethesecorrect[y]/n?y
Tryingtoupdateoptionsfile:C:\DocumentsandSettings\User\ApplicationData\MathWorks\MATLAB\R2008a\compopts.bat
Fromtemplate:C:\PROGRA~1\MATLAB\R2008a\bin\win32\mbuildopts\lcccompp.bat
Done...
>>deploytool
>>mcrinstaller
TheWIN32MCRInstaller,version7.8,is:
C:\ProgramFiles\MATLAB\R2008a\toolbox\compiler\deploy\win32\MCRInstaller.exe
MCRinstallersforotherplatformsarelocatedin:
C:\ProgramFiles\MATLAB\R2008a\toolbox\compiler\deploy\
isthevalueofCOMPUTER(arch)onthetargetmachine.
FulllistofavailableMCRinstallers:
C:\ProgramFiles\MATLAB\R2008a\toolbox\compiler\deploy\win32\MCRInstaller.exe
Formoreinformation,readyourlocalMCRInstallerhelp.
OrseetheonlinedocumentationatTheMathWorkswebsite.(Pagemayloadslowly.)
>>
Reply
NguynDuyKhimOctober5,2008,10:32pm
CmnanhBc,harafile.mdlkhngbuildchanh?Ththgaytht,lmsaomemmangcifile.mdlcaemibocothyhngdnkhimthydng
bnMatlabchnbncaem?
Giiphpchofile.mdl?
http://dientuvietnam.net/forums/showthread.php?t=17763
Reply
vinhgtApril21,2009,9:46am
XinChoanhBc.eanglmbitpmphngdaongvnglchcPhanhot.AnhgipchecchtoGuivFiguretonnmtGiaodincMENU
sxungnhpccthngsuvo,nhmvcmtthmphng.
Anhcgngipemnha.vgivachemailcaem.
EmcmnAnhnhiu!
Reply
ngohaibacApril21,2009,4:26pm
Anhkhngcnhiuthigian,nnchcthnihngchoemlmthi.Cnemmunnhnhtr,gimthigiannghincuthngkti
http://www.hocdelam.org/vnnh.
Cccivmenu,anhunitrongsitenyriem.
Chcemthnhcng.
Reply
khaiJune7,2009,10:58pm
Mnhhicht.Mnhtocfileexerinhngsaodunglngnlnthnh(~250M)?Liunhvyclbnhthngkhng?Mnguncamnhdi70dng,
chlnhpliu,tnhtonathcrixutdliu.
Reply
ngohaibacJune8,2009,7:47am
CifilebntolfilepackagechacfilecitmitrngMatlabri:MCRInstaller.exe.Nubnchbindchthithfile.exertnhthi,tuynhin
vcimykhckchycu.
BncnphicopycfileMCRInstaller.exena.
Chcbnthnhcng.
Reply
trandacchautoanJune14,2010,2:18am
trongmatlabR2008anbokocdeploytoolgiphilmsaoanhchnglphigraciR2008b2Gh:((:((
Reply
ngohaibacJune15,2010,11:46pm
Gravcilitu.
Reply
SonnhAugust12,2010,4:24pm
CmnBcNgHiBctrnhbyrtchitit.Emtocfile.exevfilepackage(baogmcfileMCRInstaller.exe)xongchchyctrnmyca
mnh.Khicopysangmykhcthkhngchyc.CcBcchgipEvi.?
Reply
longMay19,2011,10:14pm
emdngMatlabR2008acnglmtofile.exenhanhBcbo,nhngkhnghiusaodchcrimkhichyfile.exethlikhngc?anhBccbit
nguynnhnlgkhng?
Reply
dinhhopJanuary10,2012,3:50pm
anhichoemhi,emlmvthyvnnh,mdnghmrand(state,key)
msaoncbonhthnythlsaoah,cchkhcphcntn.
???Errorusing==>rand
Statemustbescalaror35by1.
Errorin==>taotvDWTat22
rand(state,key)
Monganhchgip.thanksAnhiu!
Reply
dinhhopJanuary10,2012,3:56pm
Anhadmini,choemhicht,emdnghmRand(state,key)trongMatlab7.0msaoncuabothny:
???Errorusing==>rand
Statemustbescalaror35by1.
Errorin==>taotvDWTat22
rand(state,key)
thcnghalg,vsanhthno,mongachgip,Emcmnnhiu.
Reply
saraApril11,2012,7:26am
Ihaveaproblemtomakeapackagefile.Icreateafilebyguide.Iwouldliketopackageit.Idonefollowingyourinstructiononthiswebsite.However,whenIrun,
itonlyshowsthefigures.AfterIinputparametersbyhand,Itdoesntworkwell.So,whatisproblem?Thisinstructiononlyapplyto.mfilewithoutfilemadenby
guide?
Reply
MaiVietTungNovember22,2012,1:08am
anhianhcthnhngabccvnhngacchmtrongguisvitthnokhnganh.tcdngcacchmviliccphncamtchngtrnhguishem
vi.anhgiquamailchoemnhaanh.thankanhnhiu
Reply
SinhNovember22,2013,5:28pm
adchomnhhimnhchylnhmbuildsetupnhngghigynchclachnlVisualStufio2010mkhngcLccgvycsaokhng?
Mnhbuildvnbnhthngnhngkhichyfile.execamnhthchngtrnhkhngchycccchcnngtrongfile.mcamnhltisaovyadclin
quannvntrnko?
Reply
tienMay20,2014,4:57pm
choadmnhlmvngdungmangnroniukhincngsuttrongWCDMA,khichayMatlabthigpli:
???Undefinedfunctionormethodinitlinforinputargumentsoftypedouble.
Errorin==>raat4
[w,b]=initlin(P,T)
Monggiup
Reply
adminApril29,2008,4:43pm
Emxemmnguncachngtrnhdemonyti:
C:\ProgramFiles\MATLAB\R2007a\toolbox\signal\sigdemos\specgramdemo.m
File.mnycrtnhiuhm,anhangbntonnchaxemkchoemvcithanhtrtc.Emchcncquatnhmlcthxemclnhxl
lgri.
Chcemthnhcng.
Reply
adminMay10,2008,10:05pm
BnkimtralixembnciToolboxMatlabCompilercha??BnmHelpcanraxem,nuchacthphicithmidngccclnhny.
Chcbnthnhcng.
Reply
KalinaMay12,2008,3:42pm
Cmnnh,rnhmnhskimtra,mnhsbolisau.
Reply
adminMay15,2008,7:00pm
Chobn.
Numbn7.1thclbnphidnglnhbindchchkhngphildnggiaodinGUIDeploymentthcthiubn.BnmuabnMatlabR2007a
hocMatlabmihnxem.
Mnhangbnnnchacthigianvittipbn.Bnthngcmchtnh.
Chcbnthnhcng.
Reply
adminMay21,2008,8:11am
Dnglnh
>>mcrinstaller
Nthngnmtrongny:
[thmcciMatlab]toolbox\compiler\deploy\win32\MCRInstaller.exe
Chcbnthnhcng.
Reply
adminJune13,2008,9:12am
Ok.
Bncthsdngvphttrinphnmmnytyphcvccbitoncabn.
Chcbnthnhcng.
Reply
ngohaibacSeptember3,2008,4:02pm
TcthchinphthucnhiuvoPCcaem,vbnthnMatlabkhichytnnhiudunglngbnhri.
Windowslhiuhnhxlcctcvcnhtranhvinhaunnttnhincinyutinhnthcikiasphichphcvchmhn.
Chcemthnhcng.
Reply
LeaveaComment
Name*
Email*
Website
Comment
Submit
Nextpost:ThthutMatlabLylisliutrnScopevhinthtrnth
Previouspost:QuickStartYourEmbeddedDesignwithMicroBlaze32bitSoftProcessor
anChiShopHnQucstore
anChiShopMphm
HnQuc
Like 553
Bivitmi
TiliuhctingHncaHMonash
Mshopbnmphm,nhnsmHnQuc
Tiudatabasechoblogwordpress
Sdnggithiuqutrongmtdnphnmm,dnDrupal
SchhngdnsdngGITGitmagic
Xemnhiunht
HngdncitbgtingHnQucchoWindows7
CchthctingHnQuc
GiotrnhVideohctingHnQuc44bi(Updated30.11.2013)
achhctingHnQuc
Bi1:BngchciHangul
HngdncitbgtingHnQucchohiuhnhWindows
TnghpngphptingHnthcdng23to33
BgtingHnQucHangulRomaja
CmnangngphptingHnQucthcdng(file.pdf)
HngdnlptrnhgiaotipRS232trnPCbngVisualC++6.0
ThissiterockstheThesisClassicSkinforThesis.
WPAdmin
loading