Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Spreadsheet Link Ex resets pathdef to default

1 回表示 (過去 30 日間)
Liam Kelly
Liam Kelly 2011 年 9 月 30 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
This is a strange problem. I am using the Spreadsheet Link EX toolbox to run some user defined functions. When I start Matlab from Excel (using the toolbar button "Start Matlab")the pathdef of matlab gets reset to factory default when it opens. This is annoying because I am building a tool for non-matlab users and have created some user defined functions that I don't store in the matlabroot directory. So when I call the user functions after opening matlab they aren't on the search path and the VB macro does nothing.
Anyone else have this problem? Any work-arounds?
I am using Excel 2010, Matlab v 7.11.0 (R2010b). OS is Windows 7 (64-bit)
Liam
  1 件のコメント
Mark Deans
Mark Deans 2014 年 1 月 6 日
I have a similar problem. The userpath is set properly, but when MATLAB starts from Spreadsheet Link EX, it ignores the pathdef.m file that is in the userpath directory. The MATLAB session started from Spreadsheet Link EX does write to that file if you add to the path and save, but does not seem to read it at startup. This seems like a bug to me.
I am using Excel 2010 and MATLAB 2013a with Windows 7 (64-bit).

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by