I have created my model in Matlab Simulink using Texas instrument C2000 processor supported blocks. The code runs perfectly with CCS version 5. Now i want to tune 3 parameters in real time(vary the value in real time). From the examples provided by matlab, it seems like it is possible with CAN. But unfortunately, i do not have any CAN hardwarehttp://vector.com/vi_vn1600_en.html to perform it. Are there any alternative methods to achieve this task?
Hi Sam, Starting in MATLAB release R2015a, External mode is supported via a serial connection with the target. You can use the serial over USB connection that is present with most controlCARDs and launchpads to do so. Here is a link to a shipping example that explains the workflow:
Is it possible to have communication setup through SCI so whenever in the field one can just plug a simple USB cable and use the hyperterminal to modify certain parameters in the code ?
You can implement this using the SCI block. If you need "printf" capabilities, you can get it from a MATLAB function block in your Simulink model, that is compatible with code generation. It's not too hard to do. Careful with printf as it eats quite a bit of memory.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
0 Comments
Sign in to comment.