how run .c program in matlab
115 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
manoj saini
le 29 Jan 2013
Commenté : Francis Tiong
le 3 Nov 2021
if i have program print.c
#include<stdio.h>
#include<conio.h>
main()
{
printf('hello')
getchar()
}
how i can run this code in MATLAB
0 commentaires
Réponse acceptée
Shashank Prasanna
le 29 Jan 2013
If you want to call your C function from within MATLAB you have to create a MEX file. Which mean you will have to modify your C code with the following guidelines:
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Compiler dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!