Can I only declare a variable NOT define.
Show older comments
When I make a program, I've got a question. In C/C++, before using a variable, should define or at least declare the variable like the following.
int a;
or
int a = 2;
However in MATLAB, Can I just declare a variable? In other words, is
variable;
varid?
Accepted Answer
More Answers (0)
Categories
Find more on 사전 작성된 MATLAB 인터페이스를 C++ 라이브러리에 사용하기 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!