VB connection with Matlab

조회 수: 2 (최근 30일)
Nasir Qazi
Nasir Qazi 2012년 5월 8일
% I want to Use VB as a interface GUI to link with Matlab to solve this function , could you tell me how
function [A] = Area(b,y,z)
%|---------------------------------------------|
%| Calculation of the area of a trapezoidal |
% open-channel cross-section.
%
% Variables used:
% ===============
% b = bottom width (L)
% y = flow depth (L)
% z = side slope (zH:1V, dimensionless)
% A = area (L*L, optional in lhs)
% ---------------------------------------------
A = (b+z*y)*y;

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by