file path and change directory

Hey there fellow matlab users First post on this forum, look forward to contributing. Just going through the basics of matlab via this handy online tutorial I found. Im trying to save an m file for different types of applications, ie one for "ifs" one for "switch" so I can refer back to the syntax later. So I made one for if loops and saved it. Then ive tried to repeat the process for switches and the attached image appears. Then the file doesnt compile, however if I delete all my m files and just run the same switch file, it works fine.
Any thoughts?
Bretto

2 Comments

Please post the relevant parts of your code. And please attach the image.
What do you mean "doesn't compile"? It sounds like you're using the MATLAB Compiler product and using either deploytool or the mcc command to compile your m-file into a standalone executable or DLL.

Sign in to comment.

Answers (0)

Categories

Find more on Application Deployment in Help Center and File Exchange

Products

Asked:

on 30 Dec 2014

Commented:

on 30 Dec 2014

Community Treasure Hunt

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

Start Hunting!