It is not currently possible to create or edit a CAN database DBC file with MATLAB. You can use applications from various third parties to create the DBC files.
This can be done with a free 3rd party tool, Vector CANdb++ editor.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!