MATLAB Answers

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

1 view (last 30 days)
Bingkun Yang
Bingkun Yang on 22 Feb 2019
Answered: Munish Raj on 26 Feb 2019
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)

Munish Raj
Munish Raj on 26 Feb 2019
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.

Community Treasure Hunt

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

Start Hunting!

Translated by