License

This file contains a dual-clutch transmission model built using Simscape and Simscape Driveline that can be configured for control algorithm development or optimization tests. The clutch states and pre-selection of the gears via dog clutches is controlled by a state machine modeled in Stateflow. Model variants for the transmission and vehicle dynamics can be selected using configurable subsystems. MATLAB scripts demonstrate how to optimize a shift schedule for maximum fuel economy, and how to speed that process using parallel computing. This model can be configured for hardware-in-the-loop testing.

Hi Catalin - I just tested the files (running >>ShiftMapParamGUI) and did not get this error. If you search the files for "FU_SET", you will find it is defined in ./Optim/setup_optim2D_plots.m, and not in the files your diagnostic cites. Please make sure you ran the startup_DCT_Model.m file. If you can tell me the steps you ran that generated this error, I can try them myself. --Steve

Hello. I have a lot of errors on the scripts. Can someone help me please? For example when I try to run "Shift Map Parameterization GUI" from DTC Model Demo Script I get the following erros: Undefined function or variable 'FU_SET'.

Hi tupac1971ful - the drive cycle data is loaded into the workspace by the PreLoadFcn of the model Dual_Clutch_Trans.slx. If you run startup_DCT_Model, everything should work fine. The data itself is saved in subfolder Scripts_Data. --Steve

Hi Chris -- do you have a license for the MathWorks product Model-Based Calibration Toolbox? That product is required for the data-driven model we have used. If you ">>which xregmaskinitialization -all" and get "xregmaskinitialization not found" then you don't have it. You could probably get a trial license of it from your sales rep.