electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

pointers in MATLAB?


Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing -> pointers in MATLAB?
Author Message
a_ronagh



Joined: 21 Dec 2004
Posts: 67
Helped: 9


Post19 Sep 2005 9:06   

pointers in MATLAB?


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
Back to top
Google
AdSense
Google Adsense




Post19 Sep 2005 9:06   

Ads




Back to top
Antharax



Joined: 01 Jan 1970
Posts: 227
Helped: 13


Post19 Sep 2005 10:52   

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
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing -> pointers in MATLAB?
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
fifo pointers - Y only gray code pointers are used ??? (5)
Pointers (7)
Function Pointers in C (9)
Pointers in verilog??? (4)
Understanding pointers in C (3)
creating pointers in verilog (3)
C language - pointers to functions (4)
Pointers to struct assignment (1)
[C] What's pointers like *** mean? (3)
Two pointers on the same adress. (3)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS