필터 지우기
필터 지우기

How to change the matrix int variable to just int variable?

조회 수: 1 (최근 30일)
ziad alalaily
ziad alalaily 2015년 6월 28일
댓글: Guillaume 2015년 6월 28일
i am working with databases like postgresql, the problem is i try to send a variable of just int, but for the program it is a matrix that can't be resolved, is there a way to remove that matrix and have it as just a normal variable in matlab with integer type?
  댓글 수: 2
Geoff Hayes
Geoff Hayes 2015년 6월 28일
Ziad - please describe how you are sending the data from MATLAB to the database? Are you constructing some sort of SQL command to update a table with a new value?
Guillaume
Guillaume 2015년 6월 28일
All variables in matlab are matrices. There is no such thing as a non-matrix variable. Even scalar cell arrays, structures, objects, etc. are matrices of size 1x1.
Note: see this description of the XY problem and please tell use which is the real problem you're trying to solve.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by