Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Pointers in MATLAB programming

Status
Not open for further replies.

a_ronagh

Junior Member level 3
Junior Member level 3
Joined
Dec 21, 2004
Messages
31
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
288
Hi everybody

Is there something like "pointers" in MATLAB programming language?
I want to deal with many variables in several m.files and refer to them from another m.files.and it is best done by pointers.

best regards
 

Re: pointers in MATLAB?

why?
why would you need pointers in matlab?
matlab code is a script, which will be compiled to pseudo code in the case of a function. I don't think it's usefull to think about it as you'd do in C++. I guess you should see argument passing as passing by reference.

if you want to reduce the number of arguments, put them in one vector or in a struct.

Antharax
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top