Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Matlab doesn't start in the current folder?

Subject: Matlab doesn't start in the current folder?

From: Petr Krysl

Date: 3 Oct, 2012 18:28:07

Message: 1 of 1

 I start Matlab from .bat file:

path="C:\Program Files\MATLAB\R2012b\bin";%path%
matlab.exe /nosplash /r "FAESOR_init(struct('useCXSparse',1))"

However, Matlab cannot find this file as it appears to have as the current folder the last folder in which it was closed, not the folder in which the .bat file is located.

This is a change in behavior with respect to the previous versions. What's up?

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us