好評再送視頻教學第十七章_第1頁
好評再送視頻教學第十七章_第2頁
好評再送視頻教學第十七章_第3頁
已閱讀5頁,還剩5頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、視頻名稱視頻名稱:MATLAB:MATLAB軟件函數(shù)軟件函數(shù)作者:鄧森作者:鄧森 常用接口操作函數(shù)常用接口操作函數(shù)作者:鄧森視頻名稱視頻名稱:MATLAB:MATLAB軟件函數(shù)軟件函數(shù)作者:鄧森作者:鄧森 17.1 MATLAB與與JAVA接口函數(shù)接口函數(shù) 17.2 MATLAB中中.NET函數(shù)函數(shù) 17.3 MATLAB中的共享庫函數(shù)中的共享庫函數(shù) 17.4 網(wǎng)絡(luò)服務(wù)函數(shù)網(wǎng)絡(luò)服務(wù)函數(shù)視頻名稱視頻名稱:MATLAB:MATLAB軟件函數(shù)軟件函數(shù)作者:鄧森作者:鄧森 17.1 MATLAB與與JAVA接口函數(shù)接口函數(shù) isjava :測試輸入是否為Sun Java對象 。tf = isjava(

2、A) usejava :檢驗Sun Java對象是否被MATLAB軟件支持 。usejava(feature) javaaddpath :添加動態(tài)Sun Java類的路徑 。avaaddpath(dpath) , javaaddpath(dpath, -end) javaArray :創(chuàng)建Sun Java數(shù)組 。javaArray(package_name.class_name,x1,.,xn) javachk :返回Sun Java feature包含的錯誤信息 。javachk(feature) , javachk(feature, component) javaclasspath :獲得

3、并設(shè)置Sun Java類的路徑 javaclasspath , javaclasspath(-dynamic) , javaclasspath(-static) , dpath = javaclasspath , spath = javaclasspath(-static) , jpath = javaclasspath(-all) , javaclasspath(dpath) , javaclasspath(dpath1, dpath2) , javaclasspath(statusmsg) javaMethod :調(diào)用Sun Java方式 javaMethod(MethodName,Cla

4、ssName,x1,.,xn) , avaMethod(MethodName,J,x1,.,xn) javaMethodEDT :從EDT中調(diào)用Sun Java方式 視頻名稱視頻名稱:MATLAB:MATLAB軟件函數(shù)軟件函數(shù)作者:鄧森作者:鄧森 javaObject :創(chuàng)建Sun Java對象 javaObject(ClassName,x1,.,xn) javaObjectEDT :從EDT中創(chuàng)建Sun Java對象 。javaObjectEDT(ClassName,x1,.,xn) javarmpath :從Sun Java類路徑中移除入口 。javarmpath(dpath) , jav

5、armpath dpath1 dpath2 . dpathN , javarmpath(v1, v2, ., vN) methods:返回類方式信息 methods(classname) , methods(obj) , methods(.,-full) , m = methods(.) methodsview :從分隔窗口中返回類方式信息 。methodsview packagename.classname , methodsview classname , methodsview(object) class :創(chuàng)建對象或者返回對象類 str = class(object) , obj =

6、class(s,class_name) , obj = class(s,class_name,parent1,parent2,.) , obj = class(struct(),class_name,parent1,parent2,.) , obj_struct = class(struct_array,class_name,parent_array) 17.1 MATLAB與與JAVA接口函數(shù)接口函數(shù) 視頻名稱視頻名稱:MATLAB:MATLAB軟件函數(shù)軟件函數(shù)作者:鄧森作者:鄧森 filednames :結(jié)構(gòu)體域名或者對象的公共域 names = fieldnames(s) names =

7、 fieldnames(obj) names = fieldnames(obj, -full) import :添加軟件包或類到JAVA導入名單中 import package_name.* , import class_name , import cls_or_pkg_name1 cls_or_pkg_name2. , import L = import inspect:通過圖形界面來列舉和修改屬性值 inspect , inspect(h) 17.1 MATLAB與與JAVA接口函數(shù)接口函數(shù) 視頻名稱視頻名稱:MATLAB:MATLAB軟件函數(shù)軟件函數(shù)作者:鄧森作者:鄧森 17.2 MAT

8、LAB中中.NET函數(shù)函數(shù) NET.addAssembly :在MATLAB中使用.NET組件 。 NET.addAssembly(assemblyname) NET.convertArray :將MATLAB數(shù)組轉(zhuǎn)化為.NET數(shù)組 。 arrObj = NET.convertArray(V, arrType, m,n) NET.createArray :創(chuàng)建一維或多維的.NET數(shù)組 。 array = NET.createArray(typeName, m,n,p,.) , array = NET.createArray(typeName, m,n,p,.) NET.createGeneri

9、c :創(chuàng)建.NET通用類型 。 genObj = createGeneric(className, paramTypes, varargin ctorArgs) NET.GenericClass class :參數(shù)通用類型的定義 。NET.GenericClass class :NET.GenericClass類創(chuàng)建器 。 genType = NET.GenericClass (className, varargin paramTypes) 視頻名稱視頻名稱:MATLAB:MATLAB軟件函數(shù)軟件函數(shù)作者:鄧森作者:鄧森 17.3 MATLAB中的共享庫函數(shù)中的共享庫函數(shù) calllib :在

10、共享函數(shù)庫中調(diào)用函數(shù) 。x1, ., xN = calllib(libname, funcname, arg1, ., argN) loadlibrary :在MATLAB軟件中載入共享庫 。loadlibrary(shrlib, hfile), loadlibrary(shrlib, protofile) , loadlibrary(shrlib, ., options) , loadlibrary shrlib hfile option , notfound, warnings = loadlibrary(shrlib, hfile) unloadlibrary :從內(nèi)存中卸載共享庫 。u

11、nloadlibrary(libname) , unloadlibrary libname libfunctions :返回共享函數(shù)庫中函數(shù)的信息 m = libfunctions(libname) , m = libfunctions(libname, -full) , libfunctions libname full 視頻名稱視頻名稱:MATLAB:MATLAB軟件函數(shù)軟件函數(shù)作者:鄧森作者:鄧森 17.3 MATLAB中的共享庫函數(shù)中的共享庫函數(shù) libfunctions :返回共享函數(shù)庫中函數(shù)的信息 m = libfunctions(libname) , m = libfunctio

12、ns(libname, -full) , libfunctions libname full libfunctionsview :查看共享庫中的函數(shù) libfunctionsview(libname) , libfunctionsview libname libisloaded :確定共享庫是否被成功載入 libfunctionsview(libname) , libisloaded libname libpointer :通過創(chuàng)建指針對象來使用共享庫 p = libpointer , p = libpointer(type) , p = libpointer(type,value) libs

13、truct :通過創(chuàng)建結(jié)構(gòu)體指針來使用共享庫 s = libstruct(structtype) , s = libstruct(structtype,mlstruct) 視頻名稱視頻名稱:MATLAB:MATLAB軟件函數(shù)軟件函數(shù)作者:鄧森作者:鄧森 parseSoapResponse :將SOAP服務(wù)器中響應字符串轉(zhuǎn)換為MATLAB類型 parseSoapResponse(response) callSoapService :發(fā)送SOAP信息到設(shè)備終端 。 response = callSoapService(endpoint, soapAction, message) createClassFromWsdl :基于WSDL文檔創(chuàng)建MATLAB類 。 createClassFromWsdl(source) create

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論