MATLAB's search path
2 ビュー (過去 30 日間)
古いコメントを表示
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using MatPower;
using MathWorks.MATLAB.NET.Arrays;
using MathWorks.MATLAB.NET.Utility;
namespace ForTest
{
class Program
{
static void Main(string[] args)
{
mPowerFlow m_pf = new mPowerFlow();
string strCmd = @"D:\case9.m";
m_pf.runpf(strCmd);
}
}
}
But get some errors.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/157101/image.png)
So, could anyone tell me the problem?
Also, does the matlab's search paths work as the same when I invoke a dll in C#?
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Software Development Tools についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!