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.
This is a great model but whenever I change the Block choice of the Engine to 'Data Driven' I get the following error.
"Error in 'Dual_Clutch_Trans/Engine/Data Driven/MBC Engine Model From Dynamometer Data/MBC Brake Torque/xregtwostage/Local Model': Initialization commands cannot be evaluated.
Undefined function or variable 'xregmaskinitialization'."
Its a pity as I am building a diesel engine model and this would have been a great model to learn from.
I've tried to run the simulation, but I get the following error:
Making simulation target "Dual_Clutch_Trans_sfun", ...
'Dual_Clutch_Trans_sfun.bat' is not recognized as an internal or external command,
operable program or batch file.
I'm running Matlab 64bits on Windows 7 with all the necessary toolboxes and compilers.