CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 7 matches
CCS Forum Index
Author Message
  Topic: MATLAB/SIMULINK Code Generation with CCS
Cyberian

Replies: 15
Views: 28772

PostForum: General CCS C Discussion   Posted: Mon May 08, 2017 12:38 pm   Subject: MATLAB/SIMULINK Code Generation with CCS
Be careful when invoking the 'Wizard'. It is known(reported here..) that it doesn't set the correct bits for certain registers for certain chips. Just something to be aware of. So if your code doesn't ...
  Topic: MATLAB/SIMULINK Code Generation with CCS
Cyberian

Replies: 15
Views: 28772

PostForum: General CCS C Discussion   Posted: Mon May 08, 2017 12:07 pm   Subject: MATLAB/SIMULINK Code Generation with CCS
I have a general question here:

If you are using a code generator to make the code, and you have it working for XC16, then why are you looking to have it compile in CCS? If you aren't going to mes ...
  Topic: MATLAB/SIMULINK Code Generation with CCS
Cyberian

Replies: 15
Views: 28772

PostForum: General CCS C Discussion   Posted: Mon May 08, 2017 8:08 am   Subject: MATLAB/SIMULINK Code Generation with CCS
I would not use multiple units.
This reduces the efficiency of CCS.

As I already said, and others are also saying, the way to do this is to have a CCS project, and compile this. Tell MATLAB to gen ...
  Topic: MATLAB/SIMULINK Code Generation with CCS
Cyberian

Replies: 15
Views: 28772

PostForum: General CCS C Discussion   Posted: Mon May 08, 2017 7:56 am   Subject: MATLAB/SIMULINK Code Generation with CCS
#device ANSI

At the top of the code (after the processor include).

Hi Ttelmah,
Thanks for answering.
Yes, I tried with that directive and still nothing, I found it in the CCS manual, page 94, ...
  Topic: MATLAB/SIMULINK Code Generation with CCS
Cyberian

Replies: 15
Views: 28772

PostForum: General CCS C Discussion   Posted: Mon May 08, 2017 7:50 am   Subject: MATLAB/SIMULINK Code Generation with CCS
The code generated by matlab is very good, I always check it and never need to change anything, it is wonderful, since it is the same implementation of the diagrams in blocks. Besides the great advant ...
  Topic: MATLAB/SIMULINK Code Generation with CCS
Cyberian

Replies: 15
Views: 28772

PostForum: General CCS C Discussion   Posted: Mon May 08, 2017 6:11 am   Subject: MATLAB/SIMULINK Code Generation with CCS
Try it.
Just make sure you set the ANSI directive in CCS.
Generally the core code from Matlab, will work if you use the ANSI directive in CCS. A little depends on the compiler version, and it can ha ...
  Topic: MATLAB/SIMULINK Code Generation with CCS
Cyberian

Replies: 15
Views: 28772

PostForum: General CCS C Discussion   Posted: Sun May 07, 2017 8:16 pm   Subject: MATLAB/SIMULINK Code Generation with CCS
Hi, I use matlab and simulink to generate code, both in diagrams and in stateflow. I use it perfectly with uVision for ARM, XC8 for pic18 and XC16 for dsPIC and HDL for my Spartan and Virtex. First of ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group