|
Wouldn't this be better posted on a matlab forum?
|
|
|
|
|
Please don't 'shout' - read the forum guidelines.
Also, please don't post the same question twice in the forum.
I don't think there is an easy way of converting MATLAB code to C#, other than translating it yourself.
I did find this link[^] to a CodeProject article that explains how to set up an interface between MATLAB and C#.
Paul
|
|
|
|
|
|
HOW CAN WE MAKE DLL OF MATLAB TO BE USED IN C3 CODE.
|
|
|
|
|
i would make a research in a time, but it was a bit diffulct to me whne i was new in programming. i have not made any research till that time. but it is good to learn. maybe answer comes from here. and i couldnt have found enoug resources just tried to use local help of matlab. maybe you should try you can do it
|
|
|
|
|
please don't
1 - shout
2 - ask the same question more than once
the answer is no. Matlab is a C++ library, AFAIK.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
Hello
I try to check each character i enter in a textbox where i should write the name
i don't want the user enter an integer in this text box
how i can do it ???
Assaf
|
|
|
|
|
Handle the KeyPress event raised by the TextBox control and check which key has been pressed. Cancel the key press if the user has made an invalid selection.
More information about handling this event can be found here[^].
Paul
|
|
|
|
|
hi assaf,
Use Cool Tips
hope above link solve your current problem & many more
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
How do I call the methods in my .dll files which are compiled using EVC 4.0 and the use them with my SmartDevices application on C#?
Advice?
samuel
|
|
|
|
|
Would P/Invoke help you?
|
|
|
|
|
Awesome I think it might do the trick
|
|
|
|
|
But it is Embedded VC++ DLL. Isn't it?
|
|
|
|
|
how to open .csproj in xml file through C# code and add a file as a link
I want to add CommonFileInfo.cs in more than one project
for this i want to add "CommonFileInfo.cs" file as a link in project.
So I want to open every .csproj in xml file and add this code.
<compile include="..\Projects\CommonFileInfo.cs">
CommonFileInfo.cs
How to do this???
Thanks in Advance
-- modified at 8:28 Saturday 1st September, 2007
|
|
|
|
|
|
Dear friends,
I have Created a windows Service in .net 2005 to find the WMI Classes that are available in a system.
When I invoke this windows service through a web site
I could get all the WMI Classes available in my system.
But it throws an error “Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) “ Like this for the remote System.
Note: I have given the correct User name and Password.
And this same code works fine in windows application,console application and web site for the remote system and local system..
This is the Code:
private string[] GetClassesList(string sIPAddress, string sWMINameSpace, string sUserName, string sPassword, bool bRemoteSystem)
{
int queryClassCount = 0;
string[] aClassList = null;
ConnectionOptions cnnOptions = new ConnectionOptions();
ManagementObjectCollection objClassColl = null;
cnnOptions.Username = sUserName;
cnnOptions.Password = sPassword;
cnnOptions.Authentication = AuthenticationLevel.Packet;
ManagementObjectSearcher searcher = null;
try
{
if (bRemoteSystem)
{
searcher = new ManagementObjectSearcher(new ManagementScope(@"\\" + sIPAddress + @"\" + sWMINameSpace, cnnOptions),
new WqlObjectQuery("select * from meta_class"), null);
}
else
{
searcher = new ManagementObjectSearcher(new ManagementScope(sWMINameSpace),
new WqlObjectQuery("select * from meta_class"), null);
}
objClassColl = searcher.Get();
//aClassList = new string[objClassColl.Count+1];
}
catch (Exception me)
{
MessageBox.Show(me.Message);
}
Friends, Is there any problem in my code?
Any idea’s or Link
Help me
Thank u.
by
Joe
|
|
|
|
|
The account which runs this service must have sufficient privileges on the system that is being connected to.
|
|
|
|
|
Thanks for ur reply.
yes i have given the Administrator username and password of the remote system.
any other problem??
thank u
by
joe
|
|
|
|
|
As this forum is quite old but in case you need any help, let me know. We completed medium size internet projects where i troubleshoot all this.....
|
|
|
|
|
Hai
Thanks for u r reply.
plz give solution for this problem.
I've given administrator username and password.
it works fine for remote system when i execute as windows exe
but when i create as windows service it throws "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))" error.
Thank u
by
joe
|
|
|
|
|
Hello friends,
Here is the coding of convertion of month to string its Showing
Month and Date ie "August 30"
I want only Month how can we get it.
Below coding is showing like that.
strmonth = dtNowMinusOne.ToString("M");
please give me a solution its urgent
thanks in advance
Kankeyan J
|
|
|
|
|
|
Is there any way to declare global variable in c# that can accessed by all class of application ??
|
|
|
|
|
Bhavesh Bagadiya wrote: declare global variable in c# that can accessed by all class of application
Anti-OOPs.
Use a static class that should be befitting your bill/requirement.
|
|
|
|