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.

Answers (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.

Categories

Find more on Scope Variables and Generate Names in Help Center and File Exchange

Asked:

on 22 Feb 2019

Commented:

on 9 May 2023

Community Treasure Hunt

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

Start Hunting!