Convert matlab file to .b

How to convert .m file to .b file?

3 commentaires

DGM
DGM le 16 Avr 2022
There are a number of file formats that might end in a .b extension. I don't see how it would make sense to convert a .m file to any of them. What format are you talking about, and what do you expect of such a conversion?
Asif Istiak
Asif Istiak le 16 Avr 2022
.b file- A BASIC source code file is implemented into the development of applications with the use of the BASIC programming language.
I want to code in matlab and convert the file into .b file but I could not find any .b extension while saving.
DGM
DGM le 16 Avr 2022
That's because mcode is not BASIC code. If you want to write something in BASIC, you write it in BASIC - whichever particular sort of BASIC you're targeting. Implementing something in another language is not as trivial as just selecting the file format when you save it.

Connectez-vous pour commenter.

Réponses (1)

Abhishek Chakram
Abhishek Chakram le 16 Nov 2023

0 votes

Hi Asif,
I understand that you to convert MATLAB code to a BASIC source code file. For this, you will need to manually rewrite the code in BASIC syntax. BASIC is a different programming language with its own syntax and structure, so a direct automated conversion may not be possible.
Best Regards,
Abhishek Chakram

Catégories

En savoir plus sur MATLAB Compiler dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by