plinius Posted November 25, 2004 Report Posted November 25, 2004 Hi, I made this matlabcode . I want the code to work without the use of "eval" . Is this possible, and if so, how?? Thanks. function [e,h,ploth] = rls(bestand, resultaat, kanalen, gewenst)ticorde = length(kanalen);load(bestand, 'npartities')%initialisatiedelta = 0.01;lambda = 0.9999;Xxxinv = 1/delta*eye(orde);Xxxinv_adj = Xxxinv/lambda;h = zeros(orde,1);for i = 1:npartities if i < 10 eval(['load ',bestand, '.mat string0', num2str(i)]) eval(['stringx = string0', num2str(i),'(kanalen,:);']) eval(['stringd = string0', num2str(i),'(gewenst,:);']) eval(['clear string0', num2str(i)]) %disp(stringx) Quote
didierj Posted November 26, 2004 Report Posted November 26, 2004 Uhh... I thought we were in a LabVIEW forum? ... by the way, plinius, LabVIEW version 1.0 wasn't ever released (but I think this is more a problem for Michael). Quote
PhattieM Posted July 3, 2008 Report Posted July 3, 2008 How do you use the function parameter in a mathscript node? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.