x11 forwarding does not work on my linux server

10 次查看(过去 30 天)
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by