I have a data store in my model with name as "vol_step". And my subsystem name is "vol". If I try to generate code I am getting the following error message. If I change my subsystem name as "Vol", it will generate code with out any issues. I don't have any other variable with "vol_step" name. If anyone knows the reason for the error, kindly share.
Thank you.
### Build procedure for model: 'vol' aborted due to an error. Error using tlc_c (line 178) Potential conflicting usages of identifier 'vol_step': a global identifier from model vol, and a global data store memory with that alias (vol_step) The conflict may be resolved by increasing the maximum identifier length on the Symbols pane of the Configuration Parameters dialog box. Otherwise the conflicting identifiers need to be renamed.
Error in coder.internal.ModelBuilder/make_rtw (line 599) [buildResult, codeInstrResult] = tlc_c(h,...
Error in coder.internal.ModelCodegenMgr/make_rtw (line 8) buildResult = obj.make_rtw(varargin);
Error in make_rtw (line 18) buildResult = h.make_rtw(varargin{:});
Error in build_target>RunBuildCmd (line 93)
Error in build_target (line 5)
Error in build_standalone_rtw_target (line 59)
Error in slbuild_private>loc_codegenentry (line 749)
Error in slbuild_private (line 421)
Error in sl (line 15) [varargout{1:nargout}]=feval(varargin{:});
Error in slbuild (line 61) sl('slbuild_private', mdl, varargin{:});
Error in rtwbuild (line 189) slbuild(sys, 'StandaloneRTWTarget', ...
Error in CodeGen>generate_code (line 535) rtwbuild(sys_name);
Error in CodeGen (line 225) generate_code(sys_name,sim_targ_config);
Error in run (line 63) evalin('caller', [script ';']);
0 Comments
Sign in to comment.