Octave interface: Added the path to ResInsight binary as search path for oct files in octave.

p4#: 22256
This commit is contained in:
Jacob Støren
2013-08-30 15:35:28 +02:00
parent 336eb56e3f
commit e0f5b15499
8 changed files with 87 additions and 500 deletions

View File

@@ -545,6 +545,8 @@ void RimUiTreeView::slotExecuteScript()
QStringList arguments;
arguments.append("--path");
arguments << octaveFunctionSearchPath;
arguments.append("--path");
arguments << QApplication::applicationDirPath();
arguments.append("-q");
arguments << calcScript->absolutePath();
@@ -597,6 +599,8 @@ void RimUiTreeView::slotExecuteScriptForSelectedCases()
QStringList arguments;
arguments.append("--path");
arguments << octaveFunctionSearchPath;
arguments.append("--path");
arguments << QApplication::applicationDirPath();
arguments.append("-q");
arguments << calcScript->absolutePath();