Is it possible to call a matlab file from linux code script?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Is it possible to call a matlab file from linux code script?
I created .m files on Windows; however, I am using PuTTY on Windows in order to write code in the Linux environment. I would like to call matlab files from within the code.
Would the best solution be to compile the .m files into a standalone application? Or is there a linux command that can call the files?
0 comentarios
Respuesta aceptada
Ken Atwell
el 1 de Ag. de 2013
One way or the other, you will need MATLAB on your Linux box. Assuming your MATLAB code is visible to Linux as well, you can use
matlab -r "command"
You could use MATLAB Compiler to avoid needing MATLAB on Linux goign forward, but you would still need MATLAB installed on Linux to perform the compilation -- you cannot cross-compile from Windows to Linux using MATLAB Compiler.
Más respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Compiler en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!