Error using codistributed/sprintf (line 10) sprintf does not support inputs of type 'codistributed'.

Hi, everyone.
when I run a matlab code in my personal computer. it retures me:
===========
Error using codistributed/sprintf (line 10)
sprintf does not support inputs of type 'codistributed'.
Error in distributed/wrapRemoteCall>iInnerWrapper (line 83)
[varargout{:}] = fcnH( varargin{:} );
Error in spmd_feval_fcn>get_f/body (line 78)
[outCell{:}] = fcnH( inCell{:} );
================
however, I can run the same code on the cluster.
How can I do it? Thanks.

回答(1 个)

Hello Bingkun,
Can you please provide more details about the code?
The question is not a generic error, it might be because of a specific task that you are trying to perform.

类别

帮助中心File Exchange 中查找有关 Scope Variables and Generate Names 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by