SAS simulation not giving an output, trying to understand - macros

just as a disclaimer, this is a very low-tech question, but I was unable to find out what's going on. I have a simulation in SAS and whenever I run it, it gives me the simulation itself in the output. What's going on?
I cannot disclose the code, but I can tell you it is supposed to work. However I haven't been able to find someone in person who knows SAS to show me around, as I am new to the software.
Additional info: I'm using SAS 9.4. What happens is that the output is the exact same code as the simulation. It doesn't give me any warnings or errors or anything that enables me to figure out what went wrong.

Related

MATLAB runs prior iterations of file

Summary: MATLAB runs an earlier version of my code, despite having saved the new version.
When I run my code, MATLAB seems to run an older version of it. For example, I changed the print statement from "What is the name of the vector you wish to analyze?" to "Hello. How are you?", but it still runs the previous version of the code, despite the fact that I saved the file.
I have tried deleting all the files in the MATLAB "Current Folders" directory, and even opening new files for every small iteration of my code, but to no avail. I've tried searching for resolution to similar errors online, but this does not seem to have been documented previously. The only resource that even refers to this online seems to be this question, whose only resolution was that "The error message was misleading."
I would greatly appreciate any help. I am new to MATLAB, so please pardon any naive mistakes.
In all likelihood, there are two copies of the code, the one you are editing and the one you are running.
If the code you are trying to run is called "mycode", try typing which mycode. This will tell you the location of the code version that you are running. I would also recommend closing the editor window and typing edit mycode, which will open that version.
Note: From the screenshot, it appears that you are running MATLAB through a web browser and I don't know how that handles files.

stm32H474I cannot debug

I just got a STM32H747I-DISCO board. When I try to debug it and load the code to it by using its internal ST-Link and STM32Cube IDE. It says :
Break at address "0xa05f0000" with no debug information available, or outside of program code.
And when there comes a little option( View Disassembly) that leads me to some assembly code. How can I fix it? I am just trying to make simple led blinking. To be honest I have no idea how to use this board. This is my first time with it, maybe I am trying to write codes to the wrong core? Or maybe the problem is in the debug properties. I am stuck with it. How can I fix it?
Edit: Okay so I have figured out that it also gives "Program received signal SIGTRAP, Trace/breakpoint trap." error. I believe that is related to GBD but ı don't know how to work with GBD in STM32.
You seem to be making some very trivial error in your code. Since this is led blinking, I am assuming you must have either missed out on some library import or forgot to have provided clock to the I/O ports.
Also, do set up the mode to PULLUP if you are just doing LED blinking.
The above is pure speculation since I haven't seen your code yet.

What code should I use? sys.exit() or some other thing I haven't found?

I'm a high school student in a class that is using Python 2 on Enthought Canopy Windows Edition. I often get stuck in coding loops, but the only way I can get out is by closing out all forms of open Enthought. Is there any more reliable way to do it? I've been using sys.exit(0), but it doesn't work correctly, and is leaving my coding in a jam. I can't even test it without it getting me stuck. Anyone know how to fix this issue?
If your code is already running, then you can't reliably type a command to stop it, because the prompt won't necessarily be live then.
Often you can use the Run menu's "Interrupt kernel" command, and you should usually be able to use "Restart kernel", though this doesn't work all the time.

DistutilsPlatformError: Unable to find vcvarsall.bat

I know that this question has been posted multiple times. And I have done my research but still was left clueless. So please bear with me but I wanted to see if someone can offer more direct help,
I am using the latest Python xy distribution
https://code.google.com/p/pythonxy/
I launched an ipython session and tried to write a simple fibonacci function, after doing load_ext cythonmagic. But ran into the above error. I also set the env. variable VS90COMNTOOLS to equal %VS100COMNTOOLS%, as some posts suggested. That did not fix it, what else can I do to fix the error?
Thanks

MATLAB error in "ModularRobot/VR Sink": Initialization can not be evaluated

When i try to start a simulation that has been successfully executed before. I get two errors. Fist of them is a Model error. Second is the title. Here are the details:
Since i'm pretty much beginner in MATLAB, i tried to do some research in order to solve the problem, but the instructions wasn't simple enough to understand. What i really want to do is, execute the simulation, see how it works, and imitate the running function.
Sorry if the question is to lame to ask, but like i said, i had to start somewhere.
Marty, it's nice to see you still struggling to learn some cs stuff.
Now, listen to me carefully. That's not a real bug or something that happened because of your wrongdoings.
That's just one of the few things that happens when you use outdated software. Let me guess, u used MATLAB 9, right? Well, i guess this was your problem. Try version 10 instead.
We'll meet again.