C#クラスをビルドしたdllの列挙型クラス変数にアクセスできない
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
例えば”SampleLib”の名前で実装されているC#ライブラリ内に列挙型のクラス変数SampleLib.SampleClass.Season (Spring/Summer/…などの列挙メンバーを持つ)がある時に、これをビルドしたdllをasmInfo = NET.addAssembly(“/path/to/SampleLib.dll”)の様にした時に、asmInfo.Enumの値が「’SampleLib.SampleClass+Season’」となってしまい、列挙型変数にアクセスできない(期待される結果: 「’SampleLib.SampleClass.Season’」)。どんな原因が考えられるでしょうか…環境:MATLAB2023b, .NET8.0
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Call MATLAB from .NET in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!