我想MATLAB編碼器輸出,在Visual Studio C#項目納入2010年我主要的想法是: 在Matlab中創建一個* .M腳本 確保腳本與Matlab編碼器兼容。 生成一個C++共享庫(DLL)用Matlab編碼器 使用像這樣用C#集成: //Starts the model execution. May take several minutes
public static class
這裏是問題:我有一個.m文件來測試其中有一個主函數和幾個由主函數調用的內部函數。 如何從控制檯調用此內部函數(以測試它們)? 例如: function main
function_1;
function_1;
end
function_1
disp('this is');
end
function_2
disp(' an example');
end