Filter löschen
Filter löschen

Loading hex values from a file vs executing .m file that contains same values

1 Ansicht (letzte 30 Tage)
I have a file: test_hex_load.m
that contains one line
0x52d50
When I try to load the file, instead of just executing the m-file, it does not give the same result and I was wondering why that would be?
>> clear
>> test_hex_load
ans =
uint32
339280
>> load("test_hex_load.m")
>> test_hex_load
test_hex_load =
339536
  4 Kommentare
Emmanuelle Laprise
Emmanuelle Laprise am 24 Apr. 2024
Thank you for the links. I apologize for the repost. I had not found these questions/answers when searching the database.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 24 Apr. 2024
It's a bug. It is processing all d and D as if they were e

Weitere Antworten (0)

Kategorien

Mehr zu Downloads finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by