Borrar filtros
Borrar filtros

Someting wrong with cdfx write function

2 visualizaciones (últimos 30 días)
수영 장
수영 장 el 26 de Feb. de 2024
Respondida: Kilsu Kim el 29 de Feb. de 2024
I just run my example code- like
cdfxObj = cdfx("TEST.cdfx");
a = getValue(cdfxObj, "abcComponent.DEF"); % a == Map [8, 16]
a.PhysicalValue = ones(8,16);
setValue(cdfxObj, "abcComponent.DEF", a);
a_1 = getValue(cdfxObj, "abcComponent.DEF");
write(cdfxObj, "Test.cdfx");
cdfxObj_New = cdfx("Test.cdfx");
b = getValue(cdfxObj_New, "abcComponent.DEF");
but a.PhysicalValue is not equal with b.
b only update [1,:] and other elements are same before setValue function. (a_1 is equal with a.)
I think there is Matlab error that a.PhysicalValue's real size is [1, 8*16] but it recognize [8,16] (or only display)
Is there any solution or Am I misunderstanding something?
In addition, othr variable(scalr, axis, curve...) work well.
  4 comentarios
영준
영준 el 26 de Feb. de 2024
setValue()를 사용할때 내부적으로 예상치 못한 동작이 일어나는것같은데 reshape로 명시적 재조정을 통해서 사용해보시는건 어떨까요 그외의 문제는 기술적지원이 필요할것같습니다
수영 장
수영 장 el 26 de Feb. de 2024
reshape 시도해보았는데 질문과 동일하게, 에러는 나지 않지만 wrire가 안되는 것 처럼 동작하네요.
답변 감사합니다.

Iniciar sesión para comentar.

Respuesta aceptada

Angelo Yeo
Angelo Yeo el 26 de Feb. de 2024
보안 문제로 웹 상에 파일 공유가 어려우신 경우 기술지원 요청하시는 것을 추천드립니다. 기술지원팀에 공유하시는 자료는 기술지원팀을 포함한 매스웍스의 일부 팀만 제한적으로 접근할 수 있습니다. 필요하시다면 담당 세일즈분과 함께 NDA 계약을 체결하시고 파일을 공유하시는 과정까지도 논의해볼 수 있습니다. 아래의 주소를 통해 기술지원팀에 연락할 수 있으니 참고하여 주십시오.
  1 comentario
수영 장
수영 장 el 27 de Feb. de 2024
버그가 있는걸로 레포팅 되어있다고 하네요. 답변 감사합니다.

Iniciar sesión para comentar.

Más respuestas (1)

Kilsu Kim
Kilsu Kim el 29 de Feb. de 2024
해당 이슈는 R2023b Update 7에서 개선되었습니다.

Etiquetas

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by