Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi there,
I tried freemat with Windows and Debian etch erlier and in both for path setting I just included all the directories and folders related to freemat and it worked fine, but I have lenny on my laptop and freemat gives ERROR undifined function or variable even with basic function such as comb(3,7)??
Am I missing anything to include in path ??
PLEASE SOMEONE REPLY I just noticed that in my path setting I have every thing except "bin" in my usr/bin dirctory I just have continuies x11 ??? PS see the attchment
Well I am not quite sure of version, I netinst it and than I formated the PC now on laptop I'm running lenny , I downloaded a CD of it. I tried making a custom function just a simple one ...
Quote:
t=(-pi,pi);
x=sin(t);
and then named it chris1 and added the folder in freemat path but, didn't work, still give UNDIFINED FUNCTION OR VARIABLE error, I have attched the edited path , directories not visible in attachments are ...
Quote:
/etc/xdg
/etc/xdg/freemat
AM I MISSING ANYTHING THAT TO BE ADDED IN PATH ?? SOMETHING MUST BE WRONG WITH PATH !
Last edited by chrischristian; 01-31-2009 at 08:11 PM.
I don't think you want all the toolbox files in your path, rather they are referenced by "root=/usr/share/freemat/" in your ~/.config/FreeMat/FreeMat.conf. The best way to set this on a new installation is
Code:
FreeMat -i /usr/share/freemat/
Unless you want to retain some old command history info, I recommend wiping that FreeMat.conf file and start fresh.
Verify the exact path for your distribution - mine is in /usr/local/share, for example.
Note that a package should not modify a dpkg-handled conffile in its maintainer scripts. Doing this will lead to dpkg giving the user confusing and possibly dangerous options for conffile update when the package is upgraded.
Last edited by chrischristian; 02-01-2009 at 11:25 AM.
I use lenny but I couldn't found that .conf file I tried apt-get purge freemat but even that has not removed freemat completely and on reinstall it comes with all that history and path, I find just tool box and binary in usr/local/share folders I REALLY NEED FREEMAT TO WORK URGENTLY AND DON'T WANT TO GIVE UP LINUX, HAVE TO HAVE A PRESENATATION ABOUT AMPLIFIER CALCULAIONS VERYSOON, I'M A NEWBI SO PLEASE HELP ME !!! THSNKS FOR REPLIES
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Quote:
cd into ~/.config/FreeMat
Works for me in Lenny.
Please also try cd /home/chrischristian/.config/FreeMat
and next 'mc' to see the file FreeMat.conf .
Or just do 'mc' in your /home/"user" to see .config.
( mc is the Midnight Commander, a small file manager )
The history, you mention repeated, should be in FreeMat.conf only.
( Which you should be able to watch in your default file manager,
using the option 'Show hidden files'. )
....
EDIT ... try this one too : 'ls -aR | grep FreeMat.conf'
....
I fresh installed Debian Lenny so now just tell me after downloading .deb file exactly what I should do to install freemat in /home/freematinst directory ? FYI I'm just a newbi to linux
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.