Visit our LabVIEW Wiki External Code Portal.
Tags |
(This content has not been tagged yet)
|
![]() |
Nov 25 2004, 08:25 PM
Post
#1
|
|||
|
One hit wonder! Member Posts: 1 Joined: 25-November 04 Member No.: 1107 LV:1.0 |
Hi, I made this matlabcode .
I want the code to work without the use of "eval" . Is this possible, and if so, how?? Thanks. CODE function [e,h,ploth] = rls(bestand, resultaat, kanalen, gewenst)
tic orde = length(kanalen); load(bestand, 'npartities') %initialisatie delta = 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)
|
||
|
|
|||
| Ad |
Nov 25 2004, 08:25 PM
Post
#
|
||
|
|
|
||
|
|
|||
Nov 26 2004, 07:27 AM
Post
#2
|
|||
|
Extremely Active Member Posts: 391 Joined: 6-February 04 From: switzerland Member No.: 253 Using LabVIEW Since:1997 LV:7.1.1 ,6.1 ,.
|
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). This post has been edited by didierj: Nov 26 2004, 07:28 AM
|
||
|
|
|||
Jul 2 2008, 12:55 PM
Post
#3
|
|||
|
Active Member Posts: 10 Joined: 17-June 05 Member No.: 2430 LV:7.1.1
|
How do you use the function parameter in a mathscript node?
|
||
|
|
|||
![]() ![]() |
| Time is now: 2nd December 2008 - 04:48 PM |