首页 > 解决方案 > Matlab using system-command, very slowly under linux

问题描述

Under Win 10

tic
system ('curl -s \ -H "X-MBX-APIKEY: YOURAPIKEY"  \ -X GET 
"https://api.binance.com/api/v3/ticker/price")';
toc

Under Linux

tic
system ('env -i curl -s \ -H "X-MBX-APIKEY: YOURAPIKEY"  \ -X GET 
"https://api.binance.com/api/v3/ticker/price")';
toc

Problem is the execution time. Under Win10 = 2s, under Linux= 22s. What can I do ?

标签: linuxmatlab

解决方案


推荐阅读