d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Matlab > Need Help Creating A Form
12Next
Add Reply New Topic New Poll
Member
Posts: 9,099
Joined: Nov 23 2002
Gold: 2,911.26
Jan 5 2015 03:55am
I need someone who is an expert is MATLAB and using the Java libraries (or how to build forms, if it can be done). I am looking to create a form in MATLAB that I can control (ie. Change background, always ontop, transparency, and click through. I can do this in C#, and have the workings) but i need it in MATLAB as this is the language i am 100% comfortable with. I do not want a matlab figure as you have no control over the listed things i need. Once i get this form undercontrol, i am hoping to be able to draw on it, which is fairly easy using other libraries.

I was just wondering if anyone has this experience, or knows if it can be done?

I know you can load java libraries, such as robot and us them easily, but i'm not sure about how to create a form, and everything i google keeps bring up figures and i can't find anything on it.

Thank you,
Chris
Member
Posts: 9,099
Joined: Nov 23 2002
Gold: 2,911.26
Jan 11 2015 01:00am
bump, anyone?
Member
Posts: 1,995
Joined: Jun 28 2006
Gold: 7.41
Jan 11 2015 01:10am
Quote (TheStealthTarget @ Jan 5 2015 04:55am)


I was just wondering if anyone has this experience, or knows if it can be done?



Yes. It can be done.

Member
Posts: 9,099
Joined: Nov 23 2002
Gold: 2,911.26
Jan 11 2015 03:37am
Quote (Minkomonster @ Jan 11 2015 02:10am)
Yes. It can be done.


could you give some more insight please :D
Member
Posts: 1,995
Joined: Jun 28 2006
Gold: 7.41
Jan 11 2015 04:49am
Quote (TheStealthTarget @ Jan 11 2015 04:37am)
could you give some more insight please :D


No, I have never really used matlab before. I messed around with it a bit years ago helping a friend, but retained next to no knowledge. I merely subscribe to the golden rule of computing: computers do what you tell them to do, not what you want them to do.

So, I say it is possible. You just need to figure out how to tell it to.

If you want more insight, I suggest google. Very insightful. And just think how accomplished you will feel when you figure out how to do it all on your own :)
Member
Posts: 9,099
Joined: Nov 23 2002
Gold: 2,911.26
Jan 11 2015 06:11am
Quote (Minkomonster @ Jan 11 2015 05:49am)
No, I have never really used matlab before. I messed around with it a bit years ago helping a friend, but retained next to no knowledge. I merely subscribe to the golden rule of computing: computers do what you tell them to do, not what you want them to do.

So, I say it is possible. You just need to figure out how to tell it to.

If you want more insight, I suggest google. Very insightful. And just think how accomplished you will feel when you figure out how to do it all on your own :)


I have been all over google and i haven't found it... which is why i am asking for assistance elsewhere... Matlab help doesn't support java or any other language, only the provided packages...

and the answer may be no, so don't say it with such an emphatic yes if you have no clue about Matlab. Matlab is NOT a so called base computer language that can do everything... It can't even access memory outside of the program, which c++ can do. and using pointers is nearly impossible. Matlab is not a real language, which is why i am asking help, not a simple yes when you have no clue what you are talking about.
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Jan 11 2015 11:02am
Quote (TheStealthTarget @ Jan 11 2015 07:11am)
I have been all over google and i haven't found it... which is why i am asking for assistance elsewhere... Matlab help doesn't support java or any other language, only the provided packages...

and the answer may be no, so don't say it with such an emphatic yes if you have no clue about Matlab. Matlab is NOT a so called base computer language that can do everything... It can't even access memory outside of the program, which c++ can do. and using pointers is nearly impossible. Matlab is not a real language, which is why i am asking help, not a simple yes when you have no clue what you are talking about.


why don't do you go the other way, then? it makes more sense that your UI be your "main" program and you call APIs to make computations in matlab. for my senior design project, we did this. we wanted users to input equations in a java web project and we sent the equation to matlab to graph it and send us a picture of the graph.

/e i dont remember much matlab either. i went to an "engineering" school, and all the engineering students were required to take it, but CS students weren't allowed to. the class became the butt end of a lot of jokes in CS since so many non-CS students were struggling in it. later on, CS students were allowed to take an abbreviated version of the class. we'd get ~8 lectures then we take the same final exam they take (no labs/exams/hw/etc). we had much higher scores than they did lol

This post was edited by carteblanche on Jan 11 2015 11:16am
Member
Posts: 9,099
Joined: Nov 23 2002
Gold: 2,911.26
Jan 11 2015 11:24am
Quote (carteblanche @ Jan 11 2015 12:02pm)
why don't do you go the other way, then? it makes more sense that your UI be your "main" program and you call APIs to make computations in matlab. for my senior design project, we did this. we wanted users to input equations in a java web project and we sent the equation to matlab to graph it and send us a picture of the graph.

/e i dont remember much matlab either. i went to an "engineering" school, and all the engineering students were required to take it, but CS students weren't allowed to. the class became the butt end of a lot of jokes in CS since so many non-CS students were struggling in it. later on, CS students were allowed to take an abbreviated version of the class. we'd get ~8 lectures then we take the same final exam they take (no labs/exams/hw/etc). we had much higher scores than they did lol


The main reason i am doing it this way because i am VERY VERY VERY weak in CS (and all other languages. I have taken a c++ class, but it was the basics, to basic for anything i want out of it). As for coding and algorithms, i have won a couple competitions put on my microsoft with matlab, where they are like noone has ever won with matlab, lol.

Like i said, i am proficient and i want to keep it in the matlab language. I don't need the GUI for what i am doing at the moment, but it would be nice

once i have time, i am going to pick up CS and attempt to become just as proficient in it as i am in Matlab
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Jan 11 2015 12:50pm
Quote (TheStealthTarget @ Jan 11 2015 12:24pm)
The main reason i am doing it this way because i am VERY VERY VERY weak in CS (and all other languages. I have taken a c++ class, but it was the basics, to basic for anything i want out of it). As for coding and algorithms, i have won a couple competitions put on my microsoft with matlab, where they are like noone has ever won with matlab, lol.

Like i said, i am proficient and i want to keep it in the matlab language. I don't need the GUI for what i am doing at the moment, but it would be nice

once i have time, i am going to pick up CS and attempt to become just as proficient in it as i am in Matlab


what does that mean? do you mean another specific language?
Member
Posts: 9,099
Joined: Nov 23 2002
Gold: 2,911.26
Jan 11 2015 01:22pm
Quote (carteblanche @ Jan 11 2015 01:50pm)
what does that mean? do you mean another specific language?


I wouldn't call matlab a language... it is more of a sudo-language, and it takes care of all the memory management and variable types for you. I want to learn a REAL language, but don't have time, and matlab is where i am comfortable but it isn't a real language and isn't as versatile as one either. It is easier to work with an the syntax is nice, but not a real language still.
Go Back To Programming & Development Topic List
12Next
Add Reply New Topic New Poll