Hey,
While trying to build the following model in matlab2016a, CCStudio v6 I get the following error.
Please provide information on how to get rid of this error.
Regards,
Lakshmi.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hey,
While trying to build the following model in matlab2016a, CCStudio v6 I get the following error.
Please provide information on how to get rid of this error.
Regards,
Lakshmi.
Hi Lakshmi,
I think John might be correct with his assessment, but I'll also ask my development team.
You can contact MathWorks Technical Support directly; they don't monitor these TI forums.
-Brian
Hi Lakshmi,
Heard back from my development team - this is a bug on our side.
The build folder in which you are trying to build the model is a different file system, and we are not handling the spaces in the path correctly. We transforming all paths with spaces to an alternate path name, but this does not work on all file systems, and it is failing on your build file system.
From the error message it looks like MATLAB installation folder is transformed properly(C:/PROGRA~1)
But the build folder E:\Sem 3\Main Project\Step 5 - VCSVPWM Hardware is not transformed properly.
There are few workarounds you can try:
If you have trouble with these workarounds, please contact MathWorks Tech Support for better assistance.
-Brian
hello sir
i am using F28335,CCCv6 with compiler version 6.4.6,MATLAB 2016a. While simulation my model on dspF28335 kit i am getting an error.
------------------------------------------------------
Warning: The data type "int8" uses a word size that is not available on the intended target.
Fixed-point signals using this data type will be put inside a larger word or multi words. When used,
extra software will be generated to force this larger word or multi words to emulate a smaller
word. This emulation is helpful when your prototype target and your final
production target are not the same. If the smaller word size does NOT exist
on the final production target, then consider increasing the word size to
one that is supported.
Warning: The data type "uint8" uses a word size that is not available on the intended target.
Warning: The data type "boolean" uses a word size that is not available on the intended target.
Warning: The data type "ufix1" uses a word size that is not available on the intended target.
C:/ti/ccsv6/tools/compiler/TI-CGT~1.6/bin/cl2000 --compile_only --large_memory_model --cla_support=cla0 --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv6/tools/compiler/TI-CGT~1.6/include" -v28 --float_support=fpu32 -ml -DMODEL=arduino_exp_two_level -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=512 -DMODEL=arduino_exp_two_level -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IC:/PROGRA~1/MATLAB/R2016a/simulink/include/sf_runtime -IC:/Users/satwant/Documents/MATLAB/arduino_exp_two_level_ert_rtw -IC:/Users/satwant/Documents/MATLAB -IF:/ieee paper Z source converterS/MATLAB WORK/PAPER_2_SEQUENCES_TWO_LEVEL -IC:/PROGRA~1/MATLAB/R2016a/extern/include -IC:/PROGRA~1/MATLAB/R2016a/simulink/include -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/ert -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016a/toolbox/shared/can/src/scanutil -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/MATLAB/R2016a/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="MW_c28xx_board.obj" "MW_c28xx_board.c"
[paper.]
>> WARNING: more than one source file is specified; option --output_file is ignored
Fatal error: cannot open source file "paper"
1 catastrophic error detected in the compilation of "paper".
Compilation terminated.
----------------------------------------------
Please provide any suggestion.
Thanks
Hi,
I can't really tell what the issue is. I can say you have multiple warnings about data types in your model that don't exist on your device - so that may be a factor.
I also suspect you have a directory "ieee paper Z source" which has spaces and not being correctly interpreted by the compiler call. I'd try converting that to "ieee_paper_Z_source" and try building again.
You can contact MathWorks Technical Support for additional assistance.
-Brian
sir
deploy was successfull when i moved my model into default MATLAB folder present in C drive.
Thanks
Impossible to answer your question - depends on your model and IO requirements. You need to explore and test for your specific application.
I know we have a simple power system demo with minimal IO running @200kHz right now (saw demo running on F28377S LaunchPad this morning)
-Brian