photo

Zhang Qingyang


Last seen: meer dan 3 jaar ago Active since 2020

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Question


如果在函数调用和返回时,需要传递的参数体量比较大,有什么比较高效的方法?
我有一些涉及深度的小型实例想在自己的本地电脑上跑,过程中部分函数需要传递的参数和返回的结果的大小都达到了几百MB,实际运行的耗时非常非常长,除了减小数据量外有什么办法能缩短这个时间? 举例说明: function a = Myfunction(b)...

bijna 4 jaar ago | 0 answers | 0

0

answers

Question


How to improve the efficiency of function calls that need to pass a large amount of data?
there is a function like: function a = Myfunction (b); if a or b or both are exceed 100MB, Calling this function will be very...

bijna 4 jaar ago | 0 answers | 0

0

answers

Answered
plot graph figures as binary image
saveas such as saveas(gca,'Filename.jpg'); gca is the handle of you current axis

bijna 4 jaar ago | 0