Matlab Code to C
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
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
Respuestas (2)
MechtEngineer
el 18 de Jun. de 2014
0 votos
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 comentario
Ahmed
el 18 de Jun. de 2014
Niklas Nylén
el 18 de Jun. de 2014
0 votos
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).
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!