Hi i am working on a classification project, wrote functions for training network and using it to classify new images in matlab. everything worked fine. then i created a GUI in c# because it was prettier that way.
at first, i used MLApp to create matlab instance and call all matlab functions using it, this worked great without any error. but now i need to deploy the solution to another computer with no matlab installation. so i googled and found out about .NET assemblies, tested simple functions like sum and and product, it is working. but when i created .NET assembly for my classification functions, there are errors like the matlab function which classifies gives error at following line saying it needs 3 arguments, although it is working well from both matlab environment and from c# where i am using matlab instance.
this is how i called the function from c#
MWArray result = null;
// create classify class object
classifyClass classifyObj = new classifyClass();
// Call the MATLAB function
string netPath = textBox1.Text;
string imagePath = textBox2.Text;
result = classifyObj.classifyImg(1, netPath, imagePath);
i was wondering if there was a way to create matlab instance without its full installation, that way i won't need to use assembly, if not any other solution/suggestion is very welcome i urgently need to solve this, thank you.