File Exchange

image thumbnail

Track Designer

version (986 KB) by MathWorks Student Competitions Team
This App can be used to design a custom track and simulate an NXP Cup car driving on that track.


Updated 01 Sep 2016

View Version History

View License

This app can create tracks with both a Center Line and an Edge Line. Use this App to:
- Design a New Track
- Automatically generate a VR representation of the track (*.wrl file)
- Automatically generate a Simscape Multibody model of the track
- Use these files to simulate an NXP Cup autonomous vehicle

Checkout the included simulink model: SimulationMainModel as an example for how to simulate the car.

Cite As

MathWorks Student Competitions Team (2021). Track Designer (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

Lan Wang

Dear sir, I'm so glad to get to know this APP which can help a lot with my teamwork.

But I meet some problems the first time I use it. For example, when I open the APP, it points out that there are errors in
1.TrackBuilder/init (line 416)
app.currentPiece = TrackPieceTypes.Straight;
2.TrackBuilder (line 89)
3.TrackDesignerApp/startApp (line 86)
obj.AppHandle = eval('TrackBuilder');
4.TrackDesignerApp (line 48)
5.appinstall.internal.runapp>execute (line 116)
out = evalin('caller', [script ';']);
6.appinstall.internal.runapp>runapp13a (line 95)
outobj = execute(fullfile(appinstalldir, [wrapperfile 'App.m']));
7.appinstall.internal.runapp>preamble18b (line 60)
appobj = runapp13a(appinstalldir);
8.appinstall.internal.runapp (line 13)
out = preamble18b(appinstalldir); (line 45)
appinstall.internal.runapp(appName, appLocation);
Could you please give me some guidances on what may cause these problems and how can I deal with them?

I would appreciate it if you could help me and thank you very much for spending your precious time on my question.

Herbert Schacherl

Unfortunately, the Simulink 3D Animation is not part of the sponsored NXP-Cup licence

Md. Mubarak Hossain

Dear respected sir, I'm really very happy for your awesome works.
I'm working hardly to work with your project but facing some problem. Please could you explain some mode details how to work with your project or Could you make a tutorial explaining the project?

Please sir don't mind as I've interrupted you at your busiest time.
Hope you will consider my request as you are very helpful for other and cordial in your work..........

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!