필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Matlab Code to C

조회 수: 1 (최근 30일)
Ahmed
Ahmed 2014년 6월 18일
마감: MATLAB Answer Bot 2021년 8월 20일
Dear memebrs
I have a question
what dose this Matlab code means in C ?
function [t1,t2, t0, n] = fcn(y, y1, y2)
Thanks in advance

답변 (2개)

MechtEngineer
MechtEngineer 2014년 6월 18일
Is the MATLAB code from a Simulink project? If so, you can find more information about the Simulink fcn User-Defined block here: http://www.mathworks.com.au/help/simulink/slref/fcn.html
  댓글 수: 1
Ahmed
Ahmed 2014년 6월 18일
Well its actually a matlab code which I want to adopt into my c programm
But I dont understand some syntax

Niklas Nylén
Niklas Nylén 2014년 6월 18일
The documentation of how functions are declared in Matlab is available here: http://www.mathworks.se/help/matlab/ref/function.html
In your case, fcn is the name of the function. y, y1 and y2 are the input variables. t1,t2, t0 and n are the output variables (return values).

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by