x11 forwarding does not work on my linux server

3 vues (au cours des 30 derniers jours)
Hyun-woo Park
Hyun-woo Park le 6 Avr 2016
Hi I really want to run simple code on my linux server
and to forward plot result through x11 to my computer
This is my code....
#include <engine.h>
int main(){
Engine *pEngine = engOpen("");
engEvalString(pEngine, "plot([1:1:10],[1:1:10]), ");
return 0;
}
But it doesn't work.
If I run directly run matlab and order plot (like "$matlab -nodesktop" and type "plot([1:1:10],[1:1:10])")
It works.
What is the problem?

Réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by