unitconversion2
所属分类:matlab编程
开发工具:matlab
文件大小:45KB
下载次数:5
上传日期:2011-05-25 15:00:00
上 传 者:
manohar218
说明: unit conversion file in simulink
文件列表:
unittool.m (32780, 2003-11-18)
unitconversion.m (6867, 2003-11-18)
userhelp.zip (26665, 2003-11-19)
unitopenfcn.m (857, 2003-03-20)
myblocks_lib.mdl (4768, 2003-03-25)
slblocks.m (1028, 2003-03-25)
gains_lib.mdl (10602, 2003-03-25)
Unit Conversion - Version 2
Author: Mike Thomson
Summary: MATLAB function, GUI & Simulink block for Unit Conversion.
MATLAB Release: R13
Description:
1) A MATLAB function to return unit conversion factors & offsets.
2) A GUI tool to allow selection of the unit types and perform unit conversion calculations.
3) A Simulink block (with callback to GUI) which applies the unit conversion to a signal in a model.
To use the functions (.m files) put them anywhere on the Matlab search path.
NB: unitconversion has NOT been written for speed of execution; use it for conversion of
inputs and outputs before and after main program execution.
To put the "Unit Conversion" block on the simulink Library Browser, place slblocks and the
libraries anywhere on the Matlab search path. Alternatively, edit the libraries as you see
fit or move the "Unit Conversion" block from gains_lib.mdl to an existing library.
To find out more on how to add blocks to the Simulink Library Browser, search for help on
"slblocks".
To use the custom help files:
If you don't already have custom help:
extract the contents of "userhelp.zip" into "...\MATLAB6p?\userhelp";
extract zip files within userhelp into subdirectories of the same name;
move the file "...\MATLAB6p?\userhelp\customerdoc.xml" to "...\MATLAB6p?\help\customerdoc.xml";
restart matlab and you should find the user help files available in the Matlab Help
window, Help Navigator pane, at the bottom of the Contents tab.
If you already use the custom help:
edit your "...\MATLAB6p?\userhelp\customerdoc.xml" file to include reference to the
provided html files as you see fit.
File List:
unitconversion.m v2 Matlab function to perform the unit conversions
unittool.m v2 GUI tool to evaluate conversions or return unit conversion data
unitopenfcn.m v1 Open callback function for Unit Conversion block
slblocks.m v1 Example file to add blocks to Simulink Library Browser
myblocks_lib.mdl v1 Example group Library
gains_lib.mdl v1 "Unit Conversion" block in an example blocks library
userhelp.zip Files for help in html form
Help FILES (in userhelp.zip)
help_user_cat.html v1 Example user help file
b_prev.gif v1 Example user help gif
customerdoc.xml v1 Example user help file
docicon.gif v1 Example user help gif
help_user_all.html v1 Example user help file
b_next.gif v1 Example user help gif
help_user_roadmap.html v1 Example user help file
user_help_page.gif v1 Example user help title
general.zip .m files help
simulink.zip .mdl file summary
Help FILES (in general.zip)
unitconversion.html v2 unitconversion help in html form
unittool.html v2 unittool help in html form
Help FILES (in simulink.zip)
help_simulink.html v1 Example user help file
近期下载者:
相关文件:
收藏者: